kebindong luceos just checked the browser console in chrome WTFc72Dx23zwEWKxxK30L7xUOJQ.js:103 WebSocket connection to 'wss://www.sugarasian.org/app/bc995910d0f997d2d6f79a73a40e19b0?protocol=7&client=js&version=7.4.0&flash=false' failed: RequestIntercept.window.WebSocket @ WTFc72Dx23zwEWKxxK30L7xUOJQ.js:103 createWebSocket @ forum.js?v=ffd47433:461 getSocket @ forum.js?v=ffd47433:461 e.connect @ forum.js?v=ffd47433:461 t @ forum.js?v=ffd47433:461 t.emit @ forum.js?v=ffd47433:461 e.changeState @ forum.js?v=ffd47433:461 transportConnectionInitializer @ forum.js?v=ffd47433:461 t.connect @ forum.js?v=ffd47433:461 t.tryStrategy @ forum.js?v=ffd47433:461 c @ forum.js?v=ffd47433:461 (anonymous) @ forum.js?v=ffd47433:461 (anonymous) @ forum.js?v=ffd47433:461 (anonymous) @ forum.js?v=ffd47433:461 WTFc72Dx23zwEWKxxK30L7xUOJQ.js:103 WebSocket connection to 'wss://www.sugarasian.org/app/bc995910d0f997d2d6f79a73a40e19b0?protocol=7&client=js&version=7.4.0&flash=false' failed: RequestIntercept.window.WebSocket @ WTFc72Dx23zwEWKxxK30L7xUOJQ.js:103 createWebSocket @ forum.js?v=ffd47433:461 getSocket @ forum.js?v=ffd47433:461 e.connect @ forum.js?v=ffd47433:461 t @ forum.js?v=ffd47433:461 t.emit @ forum.js?v=ffd47433:461 e.changeState @ forum.js?v=ffd47433:461 transportConnectionInitializer @ forum.js?v=ffd47433:461 t.connect @ forum.js?v=ffd47433:461 t.tryStrategy @ forum.js?v=ffd47433:461 c @ forum.js?v=ffd47433:461 (anonymous) @ forum.js?v=ffd47433:461 (anonymous) @ forum.js?v=ffd47433:461 (anonymous) @ forum.js?v=ffd47433:461 WTFc72Dx23zwEWKxxK30L7xUOJQ.js:103 WebSocket connection to 'wss://www.sugarasian.org/app/bc995910d0f997d2d6f79a73a40e19b0?protocol=7&client=js&version=7.4.0&flash=false' failed: It shows failed in console, may I ask what problem is that? thank you
mekici after the last laugh the websocket stopped working. There is the following error in the browser console. runtime.ts:115 WebSocket connection to 'wss://flarumtr.com/app/5da45286ef237668a35a87e8d5575602?protocol=7&client=js&version=7.4.0&flash=false' failed:
mekici luceos Last time I installed it with you, I updated twice and there was no problem. realtime RUNNING pid 3806075, uptime 0:00:19 The supervisor seems to be doing his job. I tried different ports (2053, 2083, 8443) but it didn't work
rob006 Extension have such alert: 2 discussions have updated activity and will be released in 9 seconds. Click to show now. Shouldn't it be something like "will be reloaded" instead of "released"?
huguadao Does realtime support neo chat? https://extiverse.com/extension/xelson/flarum-ext-chat Requires Pusher or kyrne/websocket kyrne/websocket I can't buy it anymore.
ernestdefoe I'm trying the best I know how to to get this extension installed and working but I'm having some major issues. I am using CloudFlare but for DNS only just wanted to throw that out there, Here is what the console says and I'm not sure how to fix it. Can someone please help me.
GreXXL ernestdefoe the websocket is either not running - or you can't establish a connection. The port you are using is quite unusual so it might be blocked by a firewall?
ernestdefoe I'm using Plesk and I'm not sure how to change ports or anything like that. According to the documentation for this extension the default port is 6001. If you could guide me like I am a 3 year old I would appreciate it. I try and most things I can get/understand but this is like Greek to me.
GreXXL ernestdefoe I have setup realtime in a plesk environment - was a bit of a pain but I managed to get it running on multiple sites. Disclaimer: You need to make sure the port you are using is allowed through you firewall settings. Modify your config.php file to include this block (I use 2083 as a port in this example): 'websocket' => [ 'server-port' => '2083', 'js-client-port' => '443', 'php-client-port' => '2083', 'php-client-host' => 'localhost', 'php-client-secure' => false, ] Add to your Nginx configuration the following (modify the ID and port to your configuration): location ^~ /app/ID { proxy_pass http://127.0.0.1:2083; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; } Add a scheduled task within your domains config to run the scheduler (I run it once daily just to make sure it's running). You will need to modify paths specific to your installation: cd /var/www/vhosts/YOURDOMAIN/httpdocs && /opt/plesk/php/8.1/bin/php flarum realtime:serve >> /dev/null 2>&1 If you have done that it should work š
ernestdefoe GreXXL Add to your Nginx configuration the following (modify the ID and port to your configuration): How do you get the ID? Sorry Iām so dumb when it comes to this stuff but I truly appreciate the help
ernestdefoe GreXXL Add a scheduled task within your domains config to run the scheduler (I run it once daily just to make sure it's running). You will need to modify paths specific to your installation: cd /var/www/vhosts/YOURDOMAIN/httpdocs && /opt/plesk/php/8.1/bin/php flarum realtime:serve >> /dev/null 2>&1 Ok got the task to run successfully finally. Still need help on figuring out the app id.
luceos ernestdefoe right I already implemented that š You would probably have to update the command here: GreXXL Add a scheduled task within your domains config to run the scheduler (I run it once daily just to make sure it's running). You will need to modify paths specific to your installation: cd /var/www/vhosts/YOURDOMAIN/httpdocs && /opt/plesk/php/8.1/bin/php flarum realtime:serve >> /dev/null 2>&1
GreXXL ernestdefoe if you manually start the websocket in debug mode you can see the app key (see first post): php flarum realtime:serve -vvv --debug
ernestdefoe GreXXL Is there any other way of getting that info cause when I try that command it says it's already running.
GreXXL ernestdefoe this is because you already started the task with the scheduler. You can kill the task started by the scheduler to run the debug command. After gathering the information you can re-run the scheduler task.
ernestdefoe GreXXL Well I figured out how to get the key by looking at the log file but it's still not working.
GreXXL ernestdefoe can you share more on your configuration? It's difficult to tell without further context.
GreXXL ernestdefoe screenshots showing the configuration you have chosen in the parts I mentioned above, your php flarum info output and any error message you get in the browser and logfiles. If you find this too complicated you can always choose the advanced plan of this extension to get professional installation help: https://extiverse.com/extension/blomstra/realtime?key=realtime-advanced-edition