[021] XenForo WebSockets [Deleted]

021

Well-known member
Dear @Siropu, @Xon, @Ozzy47, @Chris D and @ThemeHouse,

Please take a look at this addon. It is well documented and able to provide even the largest forums with stable communication.
It could completely change the feel of the XenForo forums.

I am also open to any questions.

Cheers
 
  • Like
Reactions: OCC
@021 InvalidArgumentException: Unable to parse URI: https://:2096 in src/vendor/guzzlehttp/psr7/src/Uri.php at line 72
 
  • Like
Reactions: OCC
Have you set up a websocket server?
I thought we could use a 3rd part my bad

  1. GuzzleHttp\Psr7\Uri->__construct() in src/vendor/guzzlehttp/psr7/src/Utils.php at line 423
  2. GuzzleHttp\Psr7\Utils::uriFor() in src/vendor/guzzlehttp/psr7/src/functions.php at line 41
  3. GuzzleHttp\Psr7\uri_for() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 214
  4. GuzzleHttp\Client->buildUri() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 154
  5. GuzzleHttp\Client->requestAsync() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 182
  6. GuzzleHttp\Client->request() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 95
  7. GuzzleHttp\Client->__call() in src/addons/BS/XFWebSockets/vendor/pusher/pusher-php-server/src/Pusher.php at line 774
  8. Pusher\Pusher->post() in src/addons/BS/XFWebSockets/vendor/pusher/pusher-php-server/src/Pusher.php at line 440
  9. Pusher\Pusher->trigger() in src/addons/BS/XFWebSockets/Broadcast.php at line 64
  10. BS\XFWebSockets\Broadcast::broadcast() in src/addons/BS/XFWebSockets/Broadcast.php at line 37
  11. BS\XFWebSockets\Broadcast::event() in src/addons/BS/RealTimeThreads/XF/Pub/Controller/Thread.php at line 18
  12. BS\RealTimeThreads\XF\Pub\Controller\Thread->actionTyping() in src/XF/Mvc/Dispatcher.php at line 352
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
  14. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
  17. XF\App->run() in src/XF.php at line 524
  18. XF::runApp() in index.php at line 20
 
  • Like
Reactions: OCC
I thought we could use a 3rd part my bad

  1. GuzzleHttp\Psr7\Uri->__construct() in src/vendor/guzzlehttp/psr7/src/Utils.php at line 423
  2. GuzzleHttp\Psr7\Utils::uriFor() in src/vendor/guzzlehttp/psr7/src/functions.php at line 41
  3. GuzzleHttp\Psr7\uri_for() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 214
  4. GuzzleHttp\Client->buildUri() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 154
  5. GuzzleHttp\Client->requestAsync() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 182
  6. GuzzleHttp\Client->request() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 95
  7. GuzzleHttp\Client->__call() in src/addons/BS/XFWebSockets/vendor/pusher/pusher-php-server/src/Pusher.php at line 774
  8. Pusher\Pusher->post() in src/addons/BS/XFWebSockets/vendor/pusher/pusher-php-server/src/Pusher.php at line 440
  9. Pusher\Pusher->trigger() in src/addons/BS/XFWebSockets/Broadcast.php at line 64
  10. BS\XFWebSockets\Broadcast::broadcast() in src/addons/BS/XFWebSockets/Broadcast.php at line 37
  11. BS\XFWebSockets\Broadcast::event() in src/addons/BS/RealTimeThreads/XF/Pub/Controller/Thread.php at line 18
  12. BS\RealTimeThreads\XF\Pub\Controller\Thread->actionTyping() in src/XF/Mvc/Dispatcher.php at line 352
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
  14. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
  17. XF\App->run() in src/XF.php at line 524
  18. XF::runApp() in index.php at line 20
Please send a screenshot of your settings
 
  • Like
Reactions: OCC
There should be an option to disable this for guests - the Pusher Sandbox plan has a limit of 100 concurrent connections which can be blown right through if you include active guests.

But so far, my local testing is working well - nice :)
 
There should be an option to disable this for guests - the Pusher Sandbox plan has a limit of 100 concurrent connections which can be blown right through if you include active guests.

But so far, my local testing is working well - nice :)
You can always set up your server with unlimited connections or purchase an upgraded plan from Pusher.
I was frustrated if I went to a forum that theoretically has real-time activity, but I can't see it because I'm a guest 😅
 
  • Like
Reactions: OCC
You can always set up your server with unlimited connections or purchase an upgraded plan from Pusher.
I was frustrated if I went to a forum that theoretically has real-time activity, but I can't see it because I'm a guest 😅
Have you seen the prices for the Pusher plans :o It's not the amount of messages but the concurrent connections that gets you.

1683184071818.webp

And self setup is limiting to people using VPS/Dedi with Linux. People on shared can't do that, so have to go with Pusher.

Besides, as a guest you won't be receiving any alerts anyway, so you won't be missing out on anything....
 
Top Bottom