Test post 2 should auto-merge.Скоро. Обновление крупное и требует много работы.
Test post 2 should auto-merge.Скоро. Обновление крупное и требует много работы.
#0 src/addons/DCom/LiveContent/vendor/pusher/pusher-php-server/src/Pusher.php(1210): Pusher\Pusher->validate_user_id('0')
#1 src/addons/DCom/LiveContent/vendor/pusher/pusher-php-server/src/Pusher.php(866): Pusher\Pusher->validate_user_data(Array)
#2 src/addons/DCom/LiveContent/Pub/Controller/Pusher.php(74): Pusher\Pusher->authenticateUser('203125.252042', Array)
#3 src/XF/Mvc/Dispatcher.php(362): DCom\LiveContent\Pub\Controller\Pusher->actionUserAuth(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('DCom\\LiveConten...', 'UserAuth', Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL)
#5 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL)
#6 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#8 src/XF.php(806): XF\App->run()
#9 index.php(23): XF::runApp('XF\\Pub\\App')
#10 {main}
array(4) {
["url"] => string(17) "/pusher/user-auth"
["referrer"] => string(57) "https://unifi-forum.nl/onderwerpen/nefit-easy.1183/page-3"
["_GET"] => array(0) {
}
["_POST"] => array(1) {
["socket_id"] => string(13) "203125.252042"
}
}
Fix in next update.Once in while i'll get this error:
Pusher\PusherException: Invalid user id 0
src/addons/DCom/LiveContent/vendor/pusher/pusher-php-server/src/Pusher.php:237
Generated by: Unknown account
Dec 16, 2024 at 9:34 AM
Stack trace
Code:#0 src/addons/DCom/LiveContent/vendor/pusher/pusher-php-server/src/Pusher.php(1210): Pusher\Pusher->validate_user_id('0') #1 src/addons/DCom/LiveContent/vendor/pusher/pusher-php-server/src/Pusher.php(866): Pusher\Pusher->validate_user_data(Array) #2 src/addons/DCom/LiveContent/Pub/Controller/Pusher.php(74): Pusher\Pusher->authenticateUser('203125.252042', Array) #3 src/XF/Mvc/Dispatcher.php(362): DCom\LiveContent\Pub\Controller\Pusher->actionUserAuth(Object(XF\Mvc\ParameterBag)) #4 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('DCom\\LiveConten...', 'UserAuth', Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL) #5 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL) #6 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #7 src/XF/App.php(2826): XF\Mvc\Dispatcher->run() #8 src/XF.php(806): XF\App->run() #9 index.php(23): XF::runApp('XF\\Pub\\App') #10 {main}
Request state
Code:array(4) { ["url"] => string(17) "/pusher/user-auth" ["referrer"] => string(57) "https://unifi-forum.nl/onderwerpen/nefit-easy.1183/page-3" ["_GET"] => array(0) { } ["_POST"] => array(1) { ["socket_id"] => string(13) "203125.252042" } }
What can cause this?
Affects pusher users only?Fix in next update.
Yes, that's correct in my caseAffects pusher users only?
Not swoole.
Hi. Do you have the sockets on Pusher working?This errors are causing my forums to lag a lot :-(
Wrong hostname or URL, it seems.
View attachment 1029
No, those errors appear after installing the addon, as the default option is pusher.Hi. Do you have the sockets on Pusher working?
I get it) I've already fixed that error. I think I'll post an update today.No, those errors appear after installing the addon, as the default option is pusher.
The only way to fix it is to switch to Swoole very quickly after an addon install.
FIXWhen whatsxfmessenger style is enabled, it's too bright on dark style.
I couldn't catch this error. Apparently, it appeared before fixing the error with the Pusher library, when the script stopped because of the error.On thread view, when ajax navigation is enabled the last or 1st page button doesn't work.
Show the output of theEarly morning here, 8AM, non-peak hours but still very CPU hungry on Swoole mode
Not usable for medium to large forums.
View attachment 1030
Please add support for Soketi.
or Centrifugo.
top
command so I can see which processes are consuming CPU.Server error log
Error: Call to a member function authorizeChannel() on null src/addons/DCom/LiveContent/Pub/Controller/Pusher.php:40
Generated by: user101 Dec 18, 2024 at 8:38 AM
Stack trace
#0 src/XF/Mvc/Dispatcher.php(362): DCom\LiveContent\Pub\Controller\Pusher->actionAuth(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('DCom\\LiveConten...', 'Auth', Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL)
#2 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL)
#3 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#5 src/XF.php(806): XF\App->run()
#6 index.php(23): XF::runApp('XF\\Pub\\App')
#7 {main}
Request state
array(4) {
["url"] => string(12) "/pusher/auth"
["referrer"] => string(35) "https://xf23.com/threads/1234/"
["_GET"] => array(1) {
["/pusher/auth"] => string(0) ""
}
["_POST"] => array(2) {
["socket_id"] => string(14) "33503.30645922"
["channel_name"] => string(22) "private-thread-1234"
}
}
Both are lightweight and very stable.
FIXI got this error with Pusher:
PHP:Server error log Error: Call to a member function authorizeChannel() on null src/addons/DCom/LiveContent/Pub/Controller/Pusher.php:40 Generated by: user101 Dec 18, 2024 at 8:38 AM Stack trace #0 src/XF/Mvc/Dispatcher.php(362): DCom\LiveContent\Pub\Controller\Pusher->actionAuth(Object(XF\Mvc\ParameterBag)) #1 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('DCom\\LiveConten...', 'Auth', Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL) #2 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DCom\LiveContent\Pub\Controller\Pusher), NULL) #3 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #4 src/XF/App.php(2826): XF\Mvc\Dispatcher->run() #5 src/XF.php(806): XF\App->run() #6 index.php(23): XF::runApp('XF\\Pub\\App') #7 {main} Request state array(4) { ["url"] => string(12) "/pusher/auth" ["referrer"] => string(35) "https://xf23.com/threads/1234/" ["_GET"] => array(1) { ["/pusher/auth"] => string(0) "" } ["_POST"] => array(2) { ["socket_id"] => string(14) "33503.30645922" ["channel_name"] => string(22) "private-thread-1234" } }