下載了workman的 聊天室框架,在運行了2天后,由于客戶端連不上,
服務(wù)端出現(xiàn)了底下錯誤
php start.php start
Workerman start in DEBUG mode
----------------------- WORKERMAN -----------------------------
Workerman version:3.3.4 PHP version:5.6.25
------------------------ WORKERS -------------------------------
user worker listen processes status
root ChatGateway websocket://0.0.0.0:7272 4
----------------------------------------------------------------
Press Ctrl-C to quit. Start success.
error opcode 7 and close websocket connection. Buffer:e728781c
error opcode 7 and close websocket connection. Buffer:c747e8df
error opcode 7 and close websocket connection. Buffer:27ab8170
error opcode 3 and close websocket connection. Buffer:2349ddcd
error opcode 4 and close websocket connection. Buffer:845e8d7b
error opcode 11 and close websocket connection. Buffer:1bd45dc2
error opcode 6 and close websocket connection. Buffer:564d23ed
重啟服務(wù)后就正常了,請問這要怎解決此類問題?
我的windows版也遇到這個問題 CMD窗口中不定時的出現(xiàn)“error opcode 6 and close websocket connection. ”,客戶端是IE11 ,chrome 無此問題。
我的是windows版本,線上運行時間一長就會出現(xiàn)這個問題,有的用戶能發(fā)言,有的用戶不能發(fā)言,重啟一下就好了。
Press Ctrl-C to quit. Start success.
error opcode 5 and close websocket connection
error opcode 12 and close websocket connection
error opcode 4 and close websocket connection
error opcode 4 and close websocket connection
error opcode 15 and close websocket connection
error opcode 5 and close websocket connection
error opcode 15 and close websocket connection
error opcode 6 and close websocket connection
error opcode 7 and close websocket connection
error opcode 3 and close websocket connection
error opcode 4 and close websocket connection
error opcode 12 and close websocket connection
error opcode 3 and close websocket connection
error opcode 7 and close websocket connection
error opcode 15 and close websocket connection
error opcode 15 and close websocket connection
error opcode 7 and close websocket connection
[attach]396[/attach]
因為傳來的opcode貌似不固定 無法判斷。請問能不能把源文件中第158行的 $connection->close(); 刪除掉 來避免掉線 。刪除后是否有影響?