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

ServerDisconnectedError: Server disconnected, toy service example #442

Closed
ederenn opened this issue Jun 8, 2021 · 0 comments · Fixed by #452
Closed

ServerDisconnectedError: Server disconnected, toy service example #442

ederenn opened this issue Jun 8, 2021 · 0 comments · Fixed by #452
Assignees
Labels
bug Something isn't working

Comments

@ederenn
Copy link

ederenn commented Jun 8, 2021

Name: ederenn
OS+lang+version (if applicable): windows 10, toy-services py, python 3.8.6

[2021-06-08 13:43:50,272 INFO yapapi.summary] Executor has shut down
instances: [('mf.b2', 'terminated')]
Task exception was never retrieved
future: <Task finished name='Task-7' coro=<_Engine._process_invoices() done, defined at C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\yapapi\engine.py:363> exception=ServerDisconnectedError('Server disconnected')>
Traceback (most recent call last):
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\yapapi\engine.py", line 366, in _process_invoices
    async for invoice in self._payment_api.incoming_invoices():
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\yapapi\rest\payment.py", line 217, in fetch
    events = await api.get_invoice_events(after_timestamp=ts)
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\ya_payment\api_client.py", line 194, in __call_api
    response_data = await self.request(
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\ya_payment\rest.py", line 192, in GET
    return await self.request(
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\ya_payment\rest.py", line 170, in request
    r = await self.pool_manager.request(**args)
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\client.py", line 544, in _request
    await resp.start(conn)
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\client_reqrep.py", line 890, in start
    message, payload = await self._protocol.read()  # type: ignore
  File "C:\Users\ederenn\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\streams.py", line 604, in read
    await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

C:\Users\ederenn\Projects\yapapi\examples\simple-service-poc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants