Skip to content

Timeout error on attempting to pull costs #78

@adyoull

Description

@adyoull

Octopus website is working fine and I've changed manually to Agile as I know that was cheaper today due to negative pricing and charging my car in that period.

But received this error:

Octobot v0.7.2 on. Initiating comparison in 5.3 minutes

Traceback (most recent call last):

  File "/usr/local/lib/python3.9/site-packages/anyio/_core/_tasks.py", line 115, in fail_after

    yield cancel_scope

  File "/usr/local/lib/python3.9/site-packages/gql/client.py", line 1537, in _execute

    result = await self.transport.execute(

  File "/usr/local/lib/python3.9/site-packages/gql/transport/aiohttp.py", line 308, in execute

    async with self.session.post(self.url, ssl=self.ssl, **post_args) as resp:

  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1425, in __aenter__

    self._resp: _RetType = await self._coro

  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 730, in _request

    await resp.start(conn)

  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1059, in start

    message, payload = await protocol.read()  # type: ignore[union-attr]

  File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 671, in read

    await self._waiter

asyncio.exceptions.CancelledError: Cancelled by cancel scope 78f38a164ac0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/app/main.py", line 380, in run_tariff_compare

    setup_gql(get_token())

  File "/app/main.py", line 216, in get_token

    result = client.execute(query)

  File "/usr/local/lib/python3.9/site-packages/gql/client.py", line 469, in execute

    data = loop.run_until_complete(

  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete

    return future.result()

  File "/usr/local/lib/python3.9/site-packages/gql/client.py", line 367, in execute_async

    return await session.execute(

  File "/usr/local/lib/python3.9/site-packages/gql/client.py", line 1628, in execute

    result = await self._execute(

  File "/usr/local/lib/python3.9/site-packages/gql/client.py", line 1537, in _execute

    result = await self.transport.execute(

  File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__

    self.gen.throw(typ, value, traceback)

  File "/usr/local/lib/python3.9/site-packages/anyio/_core/_tasks.py", line 118, in fail_after

    raise TimeoutError

�
TimeoutError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions