-
Notifications
You must be signed in to change notification settings - Fork 26
Dramiel.ERROR: exception 'React\Dns\Query\TimeoutException' #181
Comments
RuntimeException' with message 'DNS query for gateway.discord.gg failed:
too many retries' in /home/dramiel/outlow/Dramiel
Where is the location of the bots?
…On 08 Jan 2017 9:52 PM, "Isoterik" ***@***.***> wrote:
running two instances of the bot. the 2nd one keeps crashing with that
error below.
plugins in use are: evemails, notifications, siphons, siloFull
[2017-01-08 21:28:00] Dramiel.ERROR: exception 'React\Dns\Query\TimeoutException'
with message 'DNS query for gateway.discord.gg timed out' in
/home/dramiel/outlow/Dramiel/vendor/react/dns/src/Query/Executor.php:69
Stack trace: #0 [internal function]: React\Dns\Query\Executor->
React\Dns\Query\{closure}(Object(React\EventLoop\Timer\Timer)) #1
/home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/Timer/Timers.php(90):
call_user_func(Object(Closure), Object(React\EventLoop\Timer\Timer)) #2
/home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/StreamSelectLoop.php(177):
React\EventLoop\Timer\Timers->tick() #3 /home/dramiel/outlow/Dramiel/
vendor/team-reflex/discord-php/src/Discord/Discord.php(1231):
React\EventLoop\StreamSelectLoop->run() #4 /home/dramiel/outlow/Dramiel/Dramiel.php(296):
Discord\Discord->run() #5 {main} Next exception 'RuntimeException' with
message 'DNS query for gateway.discord.gg failed: too many retries' in
/home/dramiel/outlow/Dramiel/vendor/react/dns/src/Query/RetryExecutor.php:31
Stack trace: #0 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/RejectedPromise.php(25):
React\Dns\Query\RetryExecutor->React\Dns\Query\{closure}(
Object(React\Dns\Query\TimeoutException)) #1 /home/dramiel/outlow/Dramiel/
vendor/react/promise/src/Promise.php(119): React\Promise\RejectedPromise->then(NULL,
Object(Closure)) #2 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Promise.php(174):
React\Promise\Promise->React\Promise\{closure}(Object(
React\Promise\RejectedPromise)) #3 /home/dramiel/outlow/Dramiel/
vendor/react/promise/src/Promise.php(142): React\Promise\Promise->settle(
Object(React\Promise\RejectedPromise)) #4 /home/dramiel/outlow/Dramiel/
vendor/react/promise/src/Promise.php(195): React\Promise\Promise->reject(
Object(React\Dns\Query\TimeoutException)) #5 [internal function]:
React\Promise\Promise->React\Promise\{closure}(Object(React\Dns\Query\TimeoutException))
#6 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Deferred.php(42):
call_user_func(Object(Closure), Object(React\Dns\Query\TimeoutException))
#7 /home/dramiel/outlow/Dramiel/vendor/react/dns/src/Query/Executor.php(69):
React\Promise\Deferred->reject(Object(React\Dns\Query\TimeoutException))
#8 [internal function]: React\Dns\Query\Executor->
React\Dns\Query\{closure}(Object(React\EventLoop\Timer\Timer)) #9
/home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/Timer/Timers.php(90):
call_user_func(Object(Closure), Object(React\EventLoop\Timer\Timer)) #10
/home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/StreamSelectLoop.php(177):
React\EventLoop\Timer\Timers->tick() #11 /home/dramiel/outlow/Dramiel/
vendor/team-reflex/discord-php/src/Discord/Discord.php(1231):
React\EventLoop\StreamSelectLoop->run() #12 /home/dramiel/outlow/Dramiel/Dramiel.php(296):
Discord\Discord->run() #13 {main} [] []
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#181>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/APVF4b94g8mfz5l05NFlNtbZN7NDoNUPks5rQUycgaJpZM4Ldy4M>
.
|
may define the question a bit clearer? the bots share one user with an own folder each. |
Sorry il try be a bit clearer. It seems like discord gets flooded with the
traceback you posted. I'm not entirely sure but each bot is using its own
supervisor conf file right?
…On 08 Jan 2017 10:11 PM, "Isoterik" ***@***.***> wrote:
Where is the location of the bots?
may define the question a bit clearer?
the bots share one user with an own folder each.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APVF4UPOLSbNDbF9B6Nr5ZOO_dxLQmtXks5rQVDngaJpZM4Ldy4M>
.
|
i am not able to use supervisor atm due it is unable to open the Dramiel.php file: |
The plot thickens.If you not already join the official Dramiel discord
server and we can chat there and debug your issue.
Incase you don't have the invite
https://discord.gg/wD7n6pr
…On 08 Jan 2017 10:50 PM, "Isoterik" ***@***.***> wrote:
Sorry il try be a bit clearer. It seems like discord gets flooded with the
traceback you posted. I'm not entirely sure but each bot is using its own
supervisor conf file right?
i am not able to use supervisor atm due it is unable to open the
Dramiel.php file:
Could not open input file: /home/dramiel/outlow/Dramiel.php
if i could use it, they have their own config for supervisor.
im running the bots atm with screen to test them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APVF4efOG4jG_nQijYBy2ZhX5OcpRMchks5rQVojgaJpZM4Ldy4M>
.
|
joined |
updated 1st post with new log from supervisor |
IMO sounds like a connection issue. Is this self hosted or are u using a professionally hosted server |
root server at a data center |
hmm, not sure tbh. Network issues is not really my forte. I'm running 10 bots on one server right now with almost no issues. Hop on discord and ask around for help, not much I can do for u unfortunately. |
I have the same error. Tried on multiple servers without success. Here is a picture of a fresh install and run: |
running two instances of the bot. the 2nd one keeps crashing with that error below.
plugins in use are: evemails, notifications, siphons, siloFull
[2017-01-08 21:28:00] Dramiel.ERROR: exception 'React\Dns\Query\TimeoutException' with message 'DNS query for gateway.discord.gg timed out' in /home/dramiel/outlow/Dramiel/vendor/react/dns/src/Query/Executor.php:69 Stack trace: #0 [internal function]: React\Dns\Query\Executor->React\Dns\Query\{closure}(Object(React\EventLoop\Timer\Timer)) #1 /home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/Timer/Timers.php(90): call_user_func(Object(Closure), Object(React\EventLoop\Timer\Timer)) #2 /home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/StreamSelectLoop.php(177): React\EventLoop\Timer\Timers->tick() #3 /home/dramiel/outlow/Dramiel/vendor/team-reflex/discord-php/src/Discord/Discord.php(1231): React\EventLoop\StreamSelectLoop->run() #4 /home/dramiel/outlow/Dramiel/Dramiel.php(296): Discord\Discord->run() #5 {main} Next exception 'RuntimeException' with message 'DNS query for gateway.discord.gg failed: too many retries' in /home/dramiel/outlow/Dramiel/vendor/react/dns/src/Query/RetryExecutor.php:31 Stack trace: #0 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/RejectedPromise.php(25): React\Dns\Query\RetryExecutor->React\Dns\Query\{closure}(Object(React\Dns\Query\TimeoutException)) #1 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Promise.php(119): React\Promise\RejectedPromise->then(NULL, Object(Closure)) #2 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Promise.php(174): React\Promise\Promise->React\Promise\{closure}(Object(React\Promise\RejectedPromise)) #3 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Promise.php(142): React\Promise\Promise->settle(Object(React\Promise\RejectedPromise)) #4 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Promise.php(195): React\Promise\Promise->reject(Object(React\Dns\Query\TimeoutException)) #5 [internal function]: React\Promise\Promise->React\Promise\{closure}(Object(React\Dns\Query\TimeoutException)) #6 /home/dramiel/outlow/Dramiel/vendor/react/promise/src/Deferred.php(42): call_user_func(Object(Closure), Object(React\Dns\Query\TimeoutException)) #7 /home/dramiel/outlow/Dramiel/vendor/react/dns/src/Query/Executor.php(69): React\Promise\Deferred->reject(Object(React\Dns\Query\TimeoutException)) #8 [internal function]: React\Dns\Query\Executor->React\Dns\Query\{closure}(Object(React\EventLoop\Timer\Timer)) #9 /home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/Timer/Timers.php(90): call_user_func(Object(Closure), Object(React\EventLoop\Timer\Timer)) #10 /home/dramiel/outlow/Dramiel/vendor/react/event-loop/src/StreamSelectLoop.php(177): React\EventLoop\Timer\Timers->tick() #11 /home/dramiel/outlow/Dramiel/vendor/team-reflex/discord-php/src/Discord/Discord.php(1231): React\EventLoop\StreamSelectLoop->run() #12 /home/dramiel/outlow/Dramiel/Dramiel.php(296): Discord\Discord->run() #13 {main} [] []
update: happens every 20 to 30 minutes.
[2017-01-09 19:02:57] DiscordPHP.INFO: gateway retrieved and set {"gateway":"wss://gateway.discord.gg/?v=6&encoding=json"} [] [2017-01-09 19:02:57] DiscordPHP.INFO: starting connection to websocket {"gateway":"wss://gateway.discord.gg/?v=6&encoding=json"} [] [2017-01-09 19:02:58] DiscordPHP.INFO: websocket connection has been created [] [] [2017-01-09 19:02:58] DiscordPHP.INFO: received hello [] [] [2017-01-09 19:02:58] DiscordPHP.INFO: identifying {"payload":{"op":2,"d":{"token":"removed","properties":{"$os":"Linux","$browser":"DiscordPHP/v4.0.3 DiscordBot (https://github.com/teamreflex/DiscordPHP, v4.0.3)","$device":"DiscordPHP/v4.0.3 DiscordBot (https://github.com/teamreflex/DiscordPHP, v4.0.3)","$referrer":"https://github.com/teamreflex/DiscordPHP","$referring_domain":"https://github.com/teamreflex/DiscordPHP"},"compress":true}}} [] [2017-01-09 19:02:58] DiscordPHP.INFO: heartbeat timer initilized {"interval":41250} [] [2017-01-09 19:02:58] DiscordPHP.INFO: did not parse private channels [] [] [2017-01-09 19:02:58] DiscordPHP.INFO: stored guilds {"count":0} [] [2017-01-09 19:02:58] DiscordPHP.INFO: all guilds are now available {"count":1} [] [2017-01-09 19:02:58] DiscordPHP.INFO: loadAllMembers option is disabled, not setting chunking up [] [] [2017-01-09 19:02:58] DiscordPHP.INFO: client is ready [] [] [2017-01-09 19:03:56] DiscordPHP.WARNING: websocket closed {"op":1000,"reason":""} [] [2017-01-09 19:03:56] DiscordPHP.INFO: starting reconnect {"reconnect_count":1} [] [2017-01-09 19:03:56] DiscordPHP.INFO: starting connection to websocket {"gateway":"wss://gateway.discord.gg/?v=6&encoding=json"} [] [2017-01-09 19:04:37] DiscordPHP.ERROR: websocket error {"e":"DNS query for gateway.discord.gg failed: too many retries"} []
The text was updated successfully, but these errors were encountered: