Premium
Developer
- Jun 11, 2020
- 557
- 443
- 63
This is a huge image for an icon. Try uploading an image up to 512px
I just tried the demo.This is a huge image for an icon. Try uploading an image up to 512px
I also have the same problem with this then how to solve it?Server error log
- ErrorException: [E_WARNING] stream_socket_client(): Unable to connect to tcp://127.0.0.1:3205 (Connection refused)
- src/addons/BS/RealTimeChat/vendor/workerman/phpsocket.io-emitter/src/Emitter.php:33
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] str...', '/home/almalinux...', 33)
#1 src/addons/BS/RealTimeChat/vendor/workerman/phpsocket.io-emitter/src/Emitter.php(33): stream_socket_client('tcp://127.0.0.1...', 0, '', 3)
#2 src/addons/BS/RealTimeChat/vendor/workerman/phpsocket.io-emitter/src/Emitter.php(23): Emitter->connect()
#3 src/addons/BS/RealTimeChat/Listener.php(44): Emitter->__construct('127.0.0.1', '3205')
#4 src/XF/Container.php(31): BS\RealTimeChat\Listener::BS\RealTimeChat\{closure}(Object(XF\Container))
#5 src/XF/App.php(2520): XF\Container->offsetGet('chatEmitter')
#6 src/addons/BS/RealTimeChat/Pub/Controller/Chat.php(189): XF\App->offsetGet('chatEmitter')
#7 src/addons/BS/RealTimeChat/Pub/Controller/Chat.php(198): BS\RealTimeChat\Pub\Controller\Chat->onVisitorWriting()
#8 src/XF/Mvc/Dispatcher.php(352): BS\RealTimeChat\Pub\Controller\Chat->actionWriting(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('BS\\RealTimeChat...', 'Writing', Object(XF\Mvc\RouteMatch), Object(BS\RealTimeChat\Pub\Controller\Chat), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(BS\RealTimeChat\Pub\Controller\Chat), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
I also have the same problem with this then how to solve it?
Hello! Where are you getting this error?Hello. On php 8.2 i get this error:
Nginx 502 bad gateway
upstream prematurely closed connection
What should I do to fix it?
Hello! Where are you getting this error?
What's in the Nginx error logs?
[error] 37589#37589: *228 upstream prematurely closed connection while reading response header from upstream, client: ip-client, server: server-name, request: "GET /chat/?EIO=3&transport=websocket HTTP/1.1", upstream: "http://127.0.0.1:3205/chat/?EIO=3&transport=websocket", host: "server-name"