XenForo WebSockets

XenForo WebSockets 2.0.2

Upgrade No permission to download
Premium
Developer
Jun 11, 2020
557
443
63
Premium
Developer
Jun 11, 2020
557
443
63
Tested and very successful. Currently, there are no complaints, 5 stars.
I would be very grateful to you if you posted a review of the resource on XenForo.com :)
 
  • Like
Reactions: hello2029
Mar 7, 2023
78
28
18
I have just updated to the latest version and encountered this issue when using it with Real Time Chat.

I would like to send you the information for your reference.

Server error log
  • BS\XFWebSockets\Exception\BroadcastException: Pusher error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html> .
  • src/addons/BS/XFWebSockets/Broadcast.php:67

Stack trace​

#0 src/addons/BS/XFWebSockets/Broadcast.php(37): BS\XFWebSockets\Broadcast::broadcast(Array, 'UpdateAlerts', Array)
#1 src/addons/BS/RealTimeAlerts/Listener.php(18): BS\XFWebSockets\Broadcast::event('BS\\RealTimeAler...', Object(SV\AlertImprovements\XF\Entity\UserAlert))
#2 src/XF/Extension.php(52): BS\RealTimeAlerts\Listener::postSaveUserAlert(Object(SV\AlertImprovements\XF\Entity\UserAlert))
#3 src/XF.php(966): XF\Extension->fire('entity_post_sav...', Array, 'XF\\Entity\\UserA...')
#4 src/XF/Mvc/Entity/Entity.php(1283): XF::fire('entity_post_sav...', Array, 'XF\\Entity\\UserA...')
#5 src/XF/Repository/UserAlert.php(159): XF\Mvc\Entity\Entity->save()
#6 src/XF/Repository/UserAlert.php(116): XF\Repository\UserAlert->insertAlert(107, 102, 'ED10', 'chat_message', 2, 'mention', Array, Array)
#7 src/addons/SV/UserMentionsImprovements/XF/Repository/UserAlert.php(21): XF\Repository\UserAlert->alert(Object(SV\DailyStatistics\XF\Entity\User), 102, 'ED10', 'chat_message', 2, 'mention', Array, Array)
#8 src/XF/Notifier/AbstractNotifier.php(63): SV\UserMentionsImprovements\XF\Repository\UserAlert->alert(Object(SV\DailyStatistics\XF\Entity\User), 102, 'ED10', 'chat_message', 2, 'mention', Array, Array)
#9 src/addons/BS/RealTimeChat/Notifier/Message/Mention.php(26): XF\Notifier\AbstractNotifier->basicAlert(Object(SV\DailyStatistics\XF\Entity\User), 102, 'ED10', 'chat_message', 2, 'mention')
#10 src/XF/Service/AbstractNotifier.php(88): BS\RealTimeChat\Notifier\Message\Mention->sendAlert(Object(SV\DailyStatistics\XF\Entity\User))
#11 src/XF/Service/AbstractNotifier.php(46): XF\Service\AbstractNotifier->notifyType(Object(BS\RealTimeChat\Notifier\Message\Mention), Array, 1.68333E+9)
#12 src/XF/Service/AbstractNotifier.php(58): XF\Service\AbstractNotifier->notify(3)
#13 src/addons/BS/RealTimeChat/Service/Message/Creator.php(177): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#14 src/addons/BS/RealTimeChat/Pub/Controller/Concerns/MessageEvents.php(11): BS\RealTimeChat\Service\Message\Creator->sendNotifications()
#15 src/addons/BS/RealTimeChat/Pub/Controller/Chat.php(89): BS\RealTimeChat\Pub\Controller\Chat->afterPost(Object(BS\RealTimeChat\Service\Message\Creator))
#16 src/XF/Mvc/Dispatcher.php(352): BS\RealTimeChat\Pub\Controller\Chat->actionPost(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('BS\\RealTimeChat...', 'Post', Object(XF\Mvc\RouteMatch), Object(BS\RealTimeChat\Pub\Controller\Chat), NULL)
#18 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(BS\RealTimeChat\Pub\Controller\Chat), NULL)
#19 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#20 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#21 src/XF.php(524): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}
 

Attachments

  • Screenshot 2023-05-06 070632.png
    Screenshot 2023-05-06 070632.png
    25.4 KB · Views: 4
Mar 7, 2023
78
28
18
Is it possible to change port 2096 to another port? Because I am using Almalinux 8 server with Cpanel installed and port 2096 is the port to access web email.
 
Mar 7, 2023
78
28
18
I am switching my configuration from Pusher to Soketi and I am installing it on the same server that runs XenForo.

However, I am encountering an error. Please provide instructions on how to resolve this issue.

Server error log
  • InvalidArgumentException: Container key 'pusher' was not found
  • src/XF/Container.php:46

Stack trace​

#0 src/XF/App.php(3454): XF\Container->offsetGet('pusher')
#1 src/addons/BS/XFWebSockets/Broadcast.php(50): XF\App->container('pusher')
#2 src/addons/BS/XFWebSockets/Broadcast.php(37): BS\XFWebSockets\Broadcast::broadcast(Array, 'UserTyping', Array)
#3 src/addons/BS/RealTimeThreads/XF/Pub/Controller/Thread.php(19): BS\XFWebSockets\Broadcast::event('BS\\RealTimeThre...', Object(SV\DailyStatistics\XF\Entity\User), Object(SV\SearchImprovements\XF\Entity\ThreadCollab))
#4 src/XF/Mvc/Dispatcher.php(352): BS\RealTimeThreads\XF\Pub\Controller\Thread->actionTyping(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Typing', Object(XF\Mvc\RouteMatch), Object(SV\AdvancedBbCodesPack\XF\Pub\Controller\Thread), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\AdvancedBbCodesPack\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}
 

Attachments

  • Screenshot 2023-05-07 090132.png
    Screenshot 2023-05-07 090132.png
    59.3 KB · Views: 12
  • 01.png
    01.png
    52.2 KB · Views: 12
  • Screenshot 2023-05-07 091112.png
    Screenshot 2023-05-07 091112.png
    27.7 KB · Views: 13
Mar 7, 2023
78
28
18
I have watched the tutorial, but I still don't quite understand. So should the host be left blank and the Port be filled in with 6001, 9601, or 2096?

I have tried, but it still hasn't worked.

I would appreciate further assistance.
 

Attachments

  • 0000.png
    0000.png
    27.1 KB · Views: 11
Premium
Developer
Jun 11, 2020
557
443
63
I have watched the tutorial, but I still don't quite understand. So should the host be left blank and the Port be filled in with 6001, 9601, or 2096?

I have tried, but it still hasn't worked.

I would appreciate further assistance.
You need to follow the instructions exactly.