xtrime-ru / TelegramApiServer

Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
https://tg.i-c-a.su
MIT License
534 stars 120 forks source link

Две сессии - и маделина просто ловит глюк #63

Closed devnulldevzero closed 8 months ago

devnulldevzero commented 3 years ago
[2021-03-24 12:03:31] [warning] Received bad_msg_notification: incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)
[2021-03-24 12:57:55] [warning] Received bad_msg_notification: incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)
[2021-03-24 14:27:34] [warning] Received bad_msg_notification: incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)
[2021-03-24 15:27:52] [warning] Received bad_msg_notification: incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)
[2021-03-24 15:32:49] [critical] {
    "tlTrace": "While serializing:  \tphone.discardCall['reason']\nConnection.php(469):\tserializeMethod(\"phone.discardCall\",{\"peer\":{\"_\":\"inputPhoneCall\",\"id\":4080593250616251705,\"access_hash\":-8604821817551491721},\"duration\":1616599969,\"connection_id\":0,\"reason\":[]})\nCallHandler.php(190):\tsendMessage({},true)\nCallHandler.php(100):\tmethodCallAsyncWrite(\"phone.discardCall\",{\"peer\":{\"_\":\"inputPhoneCall\",\"id\":4080593250616251705,\"access_hash\":-8604821817551491721},\"duration\":1616599969,\"connection_id\":0,\"reason\":[]},{\"msg_id\":null,\"postpone\":false})\nCallHandler.php(61):\tmethodCallAsyncRead(\"phone.discardCall\",{\"peer\":{\"_\":\"inputPhoneCall\",\"id\":4080593250616251705,\"access_hash\":-8604821817551491721},\"duration\":1616599969,\"connection_id\":0,\"reason\":[]},{\"msg_id\":null})\nAuthKeyHandler.php(296):\tmethodCallAsyncRead(\"phone.discardCall\",{\"peer\":{\"_\":\"inputPhoneCall\",\"id\":4080593250616251705,\"access_hash\":-8604821817551491721},\"duration\":1616599969,\"connection_id\":0,\"reason\":[]})\ndiscardCall({\"_\":\"inputPhoneCall\",\"id\":4080593250616251705,\"access_hash\":-8604821817551491721},[],[],false)\nCoroutine.php(71):  \tcurrent()\nTools.php(500):     \t__construct({})\nVoIP.php(303):      \tcallFork({})\nUpdateHandler.php(347):\tdiscard([],[],false)\nFeedLoop.php(109):  \tsaveUpdate({\"_\":\"updatePhoneCall\",\"phone_call\":{\"_\":\"phoneCallDiscarded\",\"need_rating\":false,\"need_debug\":false,\"video\":false,\"id\":4080593250616251705}})\nLoggerLoop.php(59): \tloop()\ndanog\\MadelineProto\\Loop\\{closure}()\nCoroutine.php(117): \tsend(null)\nPlaceholder.php(46):\tdanog\\MadelineProto\\{closure}(null,null)\nPrivatePromise.php(23):\tonResolve({})\nPlaceholder.php(143):\tonResolve({})\nDeferred.php(52):   \tresolve({})\nSignalLoop.php(75): \tresolve({})\nPlaceholder.php(149):\tdanog\\Loop\\Traits\\{closure}(null,null)\nDeferred.php(52):   \tresolve(null)\nResumableLoop.php(121):\tresolve()\nResumableLoop.php(90):\tresumeInternal()\nSeqLoop.php(85):    \tresume()\nLoggerLoop.php(59): \tloop()\ndanog\\MadelineProto\\Loop\\{closure}()\nCoroutine.php(117): \tsend(null)\nPlaceholder.php(46):\tdanog\\MadelineProto\\{closure}(null,null)\nPrivatePromise.php(23):\tonResolve({})\nPlaceholder.php(143):\tonResolve({})\nDeferred.php(52):   \tresolve({})\nSignalLoop.php(75): \tresolve({})\nPlaceholder.php(149):\tdanog\\Loop\\Traits\\{closure}(null,null)\nDeferred.php(52):   \tresolve(null)\nResumableLoop.php(121):\tresolve()\nResumableLoop.php(90):\tresumeInternal()\nUpdateHandler.php(242):\tresume()\nhandleUpdates({\"_\":\"updates\",\"updates\":[{\"_\":\"updatePhoneCall\",\"phone_call\":{\"_\":\"phoneCallDiscarded\",\"need_rating\":false,\"need_debug\":false,\"video\":false,\"id\":4080593250616251705}}],\"users\":[],\"chats\":[],\"date\":1616599968,\"seq\":206,\"options\":{\"seq_start\":206,\"seq_end\":206,\"date\":1616599968}})\nCoroutine.php(71):  \tcurrent()\nTools.php(500):     \t__construct({})\nTools.php(524):     \tcallFork({})\nDriver.php(119):    \tdanog\\MadelineProto\\{closure}(\"annf\",null)\nDriver.php(72):     \ttick()\nEvDriver.php(186):  \trun()\nLoop.php(95):       \trun()\nServer.php(39):     \trun()\nserver.php(100):    \t__construct({\"address\":\"\",\"port\":\"\",\"session\":[\"*\"],\"env\":\".env.docker\",\"docker\":true,\"help\":false},[\"sessions\\\/bot_sip.madeline\"])"
devnulldevzero commented 3 years ago

image Пересоздал контейнер, наблюдаю сие картину.

xtrime-ru commented 3 years ago

Пересоздал контейнер, наблюдаю сие картину.

Можно попробовать отключить HEALTH_CHECK в env, удалить файлы сессий из папки sessions и авторизоваться заново.

"tlTrace": "While serializing: \tphone.discardCall ...

Не сталкивался с такой ошибкой. Ничего кроме пересоздания сессии или перезапуска не могу посоветовать.