-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redis for default websocket driver error #308
Comments
Hi @zhongjq , I'm not able to reproduce this issue on my local environment. And I find it weird that this shouldn't happen in this function:
The first Comment below if anyone finds other possible clues. |
Hi @albertcht |
same issue with redis driver , low probability. I trid to logger |
@liyu001989 , thanks for your info, I will try to figure it out yet no clues now. |
Hi @liyu001989 , thanks for your report, I will keep digging on it. |
It would be found after unsuspected disconnect happen |
I try to fix that error in the release |
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)
Please provide your PHP and Swoole version. (
php -v
andphp --ri swoole
)php 7.3.6
swoole 4.3.3
Please provide your Laravel/Lumen version.
laravel 5.7
Which release version of this package are you using?
v2.6.63
What did you do? If possible, provide a recipe for reproducing the error.
I use the redis for default websocket driver,There are occasional log errors in the production environment.
reference
log error
Symfony\Component\Debug\Exception\FatalThrowableError: Argument 2 passed to SwooleTW\Http\Websocket\Rooms\RedisRoom::removeValue() must be of the type array, int given, called in /mnt/data/wwwroot/qtopay.net/vendor/swooletw/laravel-swoole/src/Websocket/Rooms/RedisRoom.php on line 121
#3 vendor/swooletw/laravel-swoole/src/Websocket/Rooms/RedisRoom.php(160): removeValue
#2 vendor/swooletw/laravel-swoole/src/Websocket/Rooms/RedisRoom.php(121): delete
#1 vendor/swooletw/laravel-swoole/src/Websocket/Websocket.php(150): leave
#0 vendor/swooletw/laravel-swoole/src/Concerns/InteractsWithWebsocket.php(174): null
What did you expect to see?
What did you see instead?
i have no idea, mybe i will use table for default websocket driver
The text was updated successfully, but these errors were encountered: