Hi. Im bought an package on this website so i can host the Red discord bot. Upon launching it i see this error:
Logging into Discord...
[06/08/2018 18:13] ERROR red <module> 634: Fatal exception, attempting graceful logout
Traceback (most recent call last):
File "lib/aiohttp/connector.py", line 601, in _create_direct_connection
local_addr=self._local_addr)
File "/usr/lib/python3.6/asyncio/base_events.py", line 776, in create_connection
raise exceptions[0]
File "/usr/lib/python3.6/asyncio/base_events.py", line 763, in create_connection
yield from self.sock_connect(sock, address)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 451, in sock_connect
return (yield from fut)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 481, in _sock_connect_cb
raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('104.16.58.5', 443)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "lib/aiohttp/connector.py", line 304, in connect
yield from self._create_connection(req)
File "lib/aiohttp/connector.py", line 578, in _create_connection
transport, proto = yield from self._create_direct_connection(req)
File "lib/aiohttp/connector.py", line 624, in _create_direct_connection
(req.host, req.port, exc.strerror)) from exc
aiohttp.errors.ClientOSError: [Errno 111] Can not connect to discordapp.com:443 [Connect call failed ('104.16.58.5', 443)]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "red.py", line 614, in <module>
loop.run_until_complete(main(bot))
File "/usr/lib/python3.6/asyncio/base_events.py", line 466, in run_until_complete
return future.result()
File "red.py", line 599, in main
bot=not bot.settings.self_bot)
File "lib/discord/client.py", line 416, in login
yield from getattr(self, '_login_' + str(n))(*args, **kwargs)
File "lib/discord/client.py", line 346, in _login_1
data = yield from self.http.static_login(token, bot=is_bot)
File "lib/discord/http.py", line 258, in static_login
data = yield from self.request(Route('GET', '/users/@me'))
File "lib/discord/http.py", line 137, in request
r = yield from self.session.request(method, url, **kwargs)
File "lib/aiohttp/client.py", line 555, in __iter__
resp = yield from self._coro
File "lib/aiohttp/client.py", line 198, in _request
conn = yield from self._connector.connect(req)
File "lib/aiohttp/connector.py", line 314, in connect
.format(key, exc.strerror)) from exc
aiohttp.errors.ClientOSError: [Errno 111] Cannot connect to host discordapp.com:443 ssl:True [Can not connect to discordapp.com:443 [Connect call failed ('104.16.58.5', 443)]]
Does anyone have any idea how to fix it? I have seen a lot of threads about this, but they were all errors because of an limitation for free accounts.