Giter Site home page Giter Site logo

baymax's People

Contributors

dmrz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

baymax's Issues

Cannot connect to host

how to fix it:
`2018-03-02 18:05:12,521 DEBUG:baymax.bot: Getting updates...
2018-03-02 18:05:13,517 ERROR:baymax.bot: Polling cancelled
Traceback (most recent call last):
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/connector.py", line 797, in _wrap_create_connection
return (yield from self._loop.create_connection(*args, **kwargs))
File "uvloop/loop.pyx", line 1769, in create_connection
ConnectionResetError: [Errno 104] Connection reset by peer

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

Traceback (most recent call last):
File "/home/liuhang/Desktop/baymax-master/baymax/bot.py", line 234, in start_polling
async for update in self.update_generator():
File "/home/liuhang/Desktop/baymax-master/baymax/bot.py", line 246, in update_generator
updates = await self.get_updates()
File "/home/liuhang/Desktop/baymax-master/baymax/bot.py", line 255, in get_updates
response = await self.api.get_updates(self.timeout, self.update_id + 1)
File "/home/liuhang/Desktop/baymax-master/baymax/api.py", line 43, in get_updates
return await self.request(f'{self.base_url}/getUpdates', params=params)
File "/home/liuhang/Desktop/baymax-master/baymax/api.py", line 33, in request
url, data=payload, params=params, headers=headers) as resp:
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/client.py", line 690, in aenter
self._resp = yield from self._coro
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/client.py", line 267, in _request
conn = yield from self._connector.connect(req)
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/connector.py", line 402, in connect
proto = yield from self._create_connection(req)
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/connector.py", line 749, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/connector.py", line 860, in _create_direct_connection
raise last_exc
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/connector.py", line 832, in _create_direct_connection
req=req, client_error=client_error)
File "/home/liuhang/.virtualenvs/baymax-master/lib/python3.6/site-packages/aiohttp/connector.py", line 804, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.telegram.org:443 ssl:True [Connection reset by peer]`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.