danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.88k stars 661 forks source link

Could not connect to MadelineProto #936

Closed bayer1by closed 3 years ago

bayer1by commented 3 years ago

Hello, recently I've started to get this error on the server where everything worked fine previously

Fatal error: Uncaught \danog\MadelineProto\Exception: Could not connect to MadelineProto, please check the logs for more details. in phar...

Here is a log:

TL Trace:
<br>
WebRunner.php(93):      exceptionErrorHandler(2,"Undefined variable $res","phar:\/\/\/home\/server\/www\/madeline-80.phar\/vendor\/danog\/madelineproto\/src\/danog\/MadelineProto\/Ipc\/Runner\/WebRunner.php",93)<br>
Server.php(105):        start("\/home\/server\/www\/session.madeline",1891561287)<br>
Serialization.php(180): startMe({})<br>
Coroutine.php(117):     send({})<br>
Success.php(41):        danog\MadelineProto\{closure}(null,true)<br>
Coroutine.php(156):     onResolve({})<br>
Tools.php(477):         __construct({})<br>
Tools.php(443):         call({})<br>
API.php(292):           timeoutWithDefault({},30000,[0,null])<br>
API.php(204):           connectToMadelineProto({})<br>
API.php(181):           internalInitAPI({})<br>
danog\MadelineProto\{closure}()<br>
Coroutine.php(117):     send(null)<br>
Success.php(41):        danog\MadelineProto\{closure}(null,null)<br>
Coroutine.php(156):     onResolve({})<br>
Tools.php(477):         __construct({})<br>
AsyncConstruct.php(93): call({})<br>
API.php(181):           setInitPromise({})<br>
Serializable.php(35):   __magic_construct("session.madeline")<br>
index.php(17):          __construct("session.madeline")
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Serialization:      Trying to connect to IPC socket...
Serialization:      The endpoint does not exist! while connecting to IPC socket
Exception:          Could not connect to MadelineProto, please check the logs for more details. in API.php:297
Exception:          \danog\MadelineProto\Exception: Could not connect to MadelineProto, please check the logs for more details. in phar:///home/server/www/madeline-80.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php:297

TL Trace:
<br>
initAsynchronously()<br>
<br>
Previous TL trace:<br>
<br>
API.php(204):           connectToMadelineProto({})<br>
API.php(181):           internalInitAPI({})<br>
danog\MadelineProto\{closure}()<br>
Coroutine.php(117):     send([0,null])<br>
Placeholder.php(149):   danog\MadelineProto\{closure}(null,[0,null])<br>
Deferred.php(52):       resolve([0,null])<br>
Tools.php(450):         resolve([0,null])<br>
NativeDriver.php(142):  danog\MadelineProto\{closure}("i",null)<br>
Driver.php(138):        dispatch(true)<br>
Driver.php(72):         tick()<br>
Loop.php(95):           run()<br>
Tools.php(315):         run({})<br>
AbstractAPIFactory.php(136):    wait("To obtain a result from a Coroutine object, yield the result or disable async (not recommended). See https:\/\/docs.madelineproto.xyz\/docs\/ASYNC.html for more information on async.")<br>
InternalDoc.php(6126):  __call("start",[[]])<br>
index.php(19):          start()
MTProto:            Prompting final serialization (SHUTDOWN)...
MTProto:            Done final serialization (SHUTDOWN)!
[19-Apr-2021 16:20:12 Europe/Kiev] PHP Fatal error:  Uncaught \danog\MadelineProto\Exception: Could not connect to MadelineProto, please check the logs for more details. in phar:///home/server/www/madeline-80.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php:297
tawfek commented 3 years ago

same here !

danog commented 3 years ago

Fixed.

maverickvillar commented 3 years ago

How it was solved/fixed where there is no solution yet, please? I am also encountering the same...

maverickvillar commented 3 years ago

Fixed.

How it was solved/fixed where there is no solution yet, please? I am also encountering the same...

danog commented 3 years ago

Please send the new logs.

marcoskivo commented 3 years ago

Hi, from about last 2 days, appears the error above.

[17-Sep-2021 10:40:53 Europe/Rome] Enabled PHP logging [17-Sep-2021 10:40:53 Europe/Rome] Enabled PHP logging Logger: MadelineProto Logger: Copyright (C) 2016-2020 Daniil Gentili Logger: Licensed under AGPLv3 Logger: https://github.com/danog/MadelineProto SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.lightState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.lightState.php.lock... Server: Starting IPC server MadelineDirectory/session.madeline (process) ProcessRunner: Starting process with '/usr/local/bin/php' '-dhtml_errors=0' '-ddisplay_errors=0' '-dlog_errors=1' 'MadelineDirectory/madeline.php' 'madeline-ipc' 'MadelineDirectory/session.madeline' '360226064' SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket ProcessRunner: Got final message from worker: ProcessRunner: Got final message from worker: ProcessRunner: Process worker exited with 255! SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Serialization: Trying to connect to IPC socket... Serialization: The endpoint does not exist! while connecting to IPC socket SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Waiting for shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... SessionPaths: Got shared lock of MadelineDirectory/session.madeline.ipcState.php.lock... Exception: Could not connect to MadelineProto, please check the logs for more details. in API.php:286 Exception: \danog\MadelineProto\Exception: Could not connect to MadelineProto, please check the logs for more details. in phar://MadelineDirectory/madeline-73.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php:286 Revision: ba18d2caa5895ac553b1914871213bb1f5a71a1d-73 TL Trace:
initAsynchronously()

Previous TL trace:

API.php(183): connectToMadelineProto({})
internalInitAPI({})
Coroutine.php(115): send([0,null])
Placeholder.php(125): danog\MadelineProto{closure}(null,[0,null])
Deferred.php(48): resolve([0,null])
Tools.php(444): resolve([0,null])
NativeDriver.php(109): danog\MadelineProto{closure}("p",null)
Driver.php(117): dispatch(true)
Driver.php(61): tick()
Loop.php(87): run()
Tools.php(313): run({})
AbstractAPIFactory.php(128): wait("To obtain a result from a Coroutine object, yield the result or disable async (not recommended). See https:\/\/docs.madelineproto.xyz\/docs\/ASYNC.html for more information on async.")
InternalDoc.php(5788): __call("start",[[]])
cron.php(90): start() MTProto: Prompting final serialization (SHUTDOWN)... MTProto: Done final serialization (SHUTDOWN)! [17-Sep-2021 10:41:23 Europe/Rome] PHP Fatal error: Uncaught \danog\MadelineProto\Exception: Could not connect to MadelineProto, please check the logs for more details. in phar://MadelineDirectory/madeline-73.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php:286 Revision: ba18d2caa5895ac553b1914871213bb1f5a71a1d-73 TL Trace:
initAsynchronously()

Previous TL trace:

API.php(183): connectToMadelineProto({})
internalInitAPI({})
Coroutine.php(115): send([0,null])
Placeholder.php(125): danog\MadelineProto{closure}(null,[0,null])
Deferred.php(48): resolve([0,null])
Tools.php(444): resolve([0,null])
NativeDriver.php(109): danog\MadelineProto{closure}("p",null)
Driver.php(117): dispatch(true)
Driver.php(61): tick()
Loop.php(87): run()
Tools.php(313): run({})
AbstractAPIFactory.php(128): wait("To obtain a result from a Coroutine object, yield the result or disable async (not recommended). See https:\/\/docs.madelineproto.xyz\/docs\/AS in phar://MadelineDirectory/madeline-73.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php on line 286

nepohex commented 2 years ago

C:\OpenServer2\modules\php\PHP_8.0\php.exe -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9003 -dxdebug.remote_host=127.0.0.1 C:\OpenServer\domains\scripts.loc\telegram\test.php Logger: MadelineProto Logger: Copyright (C) 2016-2022 Daniil Gentili Logger: Licensed under AGPLv3 Logger: https://github.com/danog/MadelineProto Server: Starting IPC server C:\OpenServer\domains\scripts.loc\telegram\session.madeline (process) ProcessRunner: Starting process with "C:\OpenServer2\modules\php\PHP_8.0\php.exe" "-dhtml_errors=0" "-ddisplay_errors=0" "-dlog_errors=1" "C:\OpenServer\domains\scripts.loc\telegram\madeline.php" "madeline-ipc" "C:\OpenServer\domains\scripts.loc\telegram\session.madeline" "569414523" Serialization: MadelineProto is starting, please wait... Exception: stream_socket_client(): Unable to connect to tcp://127.0.0.1:55601 (Подключение не установлено, т.к. конечный компьютер отверг запрос на подключение) in functions.php:39 Serialization: stream_socket_client(): Unable to connect to tcp://127.0.0.1:55601 (Подключение не установлено, т.к. конечный компьютер отверг запрос на подключение) while connecting to IPC socket Serialization: MadelineProto is starting, please wait... Exception: stream_socket_client(): Unable to connect to tcp://127.0.0.1:55601 (Подключение не установлено, т.к. конечный компьютер отверг запрос на подключение) in functions.php:39 Serialization: stream_socket_client(): Unable to connect to tcp://127.0.0.1:55601 (Подключение не установлено, т.к. конечный компьютер отверг запрос на подключение) while connecting to IPC socket Serialization: MadelineProto is starting, please wait... Serialization: Connected to IPC socket!

И далее ничего не происходит

danog commented 2 years ago

Make sure the /usr/local/bin/php executable is accessible by the webserver