Skip to content
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

Error when running arbot #5

Open
bylren001 opened this issue Jan 26, 2018 · 1 comment
Open

Error when running arbot #5

bylren001 opened this issue Jan 26, 2018 · 1 comment

Comments

@bylren001
Copy link

Hi,

I have installed everything and updated the .env file with relevant api's tokens. When running arbot I get the following errors:

Traceback (most recent call last):
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/connector.py", line 797, in _wrap_create_connection
return (yield from self._loop.create_connection(*args, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 802, in create_connection
sock, protocol_factory, ssl, server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 828, in _create_connection_transport
yield from waiter
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/sslproto.py", line 503, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/sslproto.py", line 201, in feed_ssldata
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 683, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/telepot/aio/api.py", line 139, in request
async with fn(*args, **kwargs) as r:
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/client.py", line 690, in aenter
self._resp = yield from self._coro
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/client.py", line 267, in _request
conn = yield from self._connector.connect(req)
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/connector.py", line 402, in connect
proto = yield from self._create_connection(req)
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/connector.py", line 749, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/connector.py", line 860, in _create_direct_connection
raise last_exc
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/connector.py", line 832, in _create_direct_connection
req=req, client_error=client_error)
File "/Users/renebaylisswork/Downloads/bitrader-master/venv/lib/python3.6/site-packages/aiohttp/connector.py", line 802, in _wrap_create_connection
raise ClientConnectorSSLError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorSSLError: Cannot connect to host api.telegram.org:443 ssl:True [[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)]

Any thoughts on this?

Thanks

Rene

@ayeseadewale
Copy link

Error....
Traceback (most recent call last):
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\loop.py", line 29, in run_forever
result = await self.bot.getUpdates(offset=offset,
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 587, in getUpdates
return await self._api_request('getUpdates', rectify(p))
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 78, in _api_request
return await api.request((self._token, method, params, files), **kwargs)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 146, in request
return await _parse(r)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 132, in _parse
raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ('Not Found', 404, {'ok': False, 'error_code': 404, 'description': 'Not Found'})
Traceback (most recent call last):
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\loop.py", line 29, in run_forever
result = await self.bot.getUpdates(offset=offset,
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 587, in getUpdates
return await self._api_request('getUpdates', rectify(p))
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 78, in _api_request
return await api.request((self._token, method, params, files), **kwargs)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 146, in request
return await _parse(r)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 132, in _parse
raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ('Not Found', 404, {'ok': False, 'error_code': 404, 'description': 'Not Found'})
Traceback (most recent call last):
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\loop.py", line 29, in run_forever
result = await self.bot.getUpdates(offset=offset,
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 587, in getUpdates
return await self._api_request('getUpdates', rectify(p))
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 78, in _api_request
return await api.request((self._token, method, params, files), **kwargs)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 146, in request
return await _parse(r)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 132, in _parse
raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ('Not Found', 404, {'ok': False, 'error_code': 404, 'description': 'Not Found'})
Traceback (most recent call last):
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\loop.py", line 29, in run_forever
result = await self.bot.getUpdates(offset=offset,
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 587, in getUpdates
return await self._api_request('getUpdates', rectify(p))
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio_init
.py", line 78, in _api_request
return await api.request((self._token, method, params, files), **kwargs)
File "c:\users\ayese\appdata\local\programs\python\python39\lib\site-packages\telepot\aio\api.py", line 146, in request
return await _parse(r)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants