-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
Cannot Connect to DC 1 in MadelineProto/Tools.php #698
Comments
Same problem, but with DC 2 |
Fixed |
@danog Hi! I have the same problem "HP Fatal error: Uncaught \danog\MadelineProto\Exception: Could not connect to DC 2 in /application/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php on line 274" |
Hi bro , i had same problem who to fix that ? |
Same problem, with DC 2, on production server |
Please send full logs. |
i hadSame problem, with DC 2, on testing server, error log : TL Trace: MTProto.php(622): connectToAllDcs() Previous TL trace: dcConnect() |
Again, need full logs. |
These are all the error logs: Start.php(71): login("+7 962 785 8597") Previous TL trace: danog\MadelineProto{closure}() TL Trace: MTProto.php(622): connectToAllDcs() Previous TL trace: dcConnect() TL Trace: MTProto.php(622): connectToAllDcs() Previous TL trace: dcConnect() TL Trace: MTProto.php(622): connectToAllDcs() Previous TL trace: dcConnect() |
run server.php in cli mode,Prompt these errors: |
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: tigger-te ***@***.***>
Sent: Wednesday, September 15, 2021 9:37 AM
To: danog/MadelineProto
Cc: Subscribed
Subject: Re: [danog/MadelineProto] Cannot Connect to DC 1 in MadelineProto/Tools.php (#698)
i hadSame problem, with DC 2, on testing server, error log :
thrown in /home/wwwroot/TelegramApiServer/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php on line 302
[15-Sep-2021 13:31:26 UTC] PHP Fatal error: Uncaught \danog\MadelineProto\Exception: Could not connect to DC 2 in /home/wwwroot/TelegramApiServer/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php:302
TL Trace:
MTProto.php(622): connectToAllDcs()
API.php(218): __construct_async()
API.php(218): initAsynchronously()
AbstractAPIFactory.php(185): internalInitAPI()
AbstractAPIFactory.php(185): initAsynchronously()
__call_async()
Previous TL trace:
dcConnect()
Coroutine.php(176): throw()
Coroutine.php(114): throw()
Failure.php(33): danog\MadelineProto{closure}()
Placeholder.php(143): onResolve()
Placeholder.php(177): resolve()
Coroutine.php(137): fail()
Failure.php(33): Amp{closure}()
Placeholder.php(143): onResolve()
Placeholder.php(177): resolve()
Deferred.php(66): fail()
functions.php(275): fail()
NativeDriver.php(142): Amp\Promise{closure}()
Driver.php(138): dispatch()
Driver.php(72): tick()
Loop.php(95): run()
Server.php(39): run()
server.php(101): __construct()
thrown in /home/wwwroot/TelegramApiServer/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php on line 302
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#698 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVJYO6YIDSSD3EHQEIYPXITUCCOTJANCNFSM4IY5WI6A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I keep getting connection error on my DE server. The detailed error is as follows:
My composer file MadelineProto dependencies are:
The text was updated successfully, but these errors were encountered: