lnbits / tipjar

Accept Bitcoin donations, with messages attached!
MIT License
2 stars 4 forks source link

[BUG] TipJar throwing some python exceptions on Submitting a Tip #7

Open TrezorHannes opened 9 months ago

TrezorHannes commented 9 months ago

Describe the bug After upgrading from 0.10.9 to 0.11.1 AND migrating servers, the TipJar extension stopped working. When clicking Submit on the donation page on an existing or fresh new created TipJar, nothing happens on the UI, and the backend reports a bunch of python errors (see below for details).

but keep seeing the same backend errors.

To Reproduce All version Details outlined below. It would be super helpful if we could get some pointers whether this might be a python version issue. Poetry should be the most recent.

Expected behavior All the other installed extensions like splitpay, satspayserver and usermanager seem to be working fine. Would be great to validate what's wrong with our setup, or TipJar.

LNBITS Logs

Oct 23 09:28:01 debian-8 poetry[1533685]: Traceback (most recent call last):
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 167, in try_connect
Oct 23 09:28:01 debian-8 poetry[1533685]:     stream = await asynclib.connect_tcp(remote_host, remote_port, local_address)
Oct 23 09:28:01 debian-8 poetry[1533685]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 1627, in connect_tcp
Oct 23 09:28:01 debian-8 poetry[1533685]:     await get_running_loop().create_connection(
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "uvloop/loop.pyx", line 2039, in create_connection
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
Oct 23 09:28:01 debian-8 poetry[1533685]: ConnectionRefusedError: [Errno 111] Connection refused
Oct 23 09:28:01 debian-8 poetry[1533685]: The above exception was the direct cause of the following exception:
Oct 23 09:28:01 debian-8 poetry[1533685]: Traceback (most recent call last):
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
Oct 23 09:28:01 debian-8 poetry[1533685]:     yield
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
Oct 23 09:28:01 debian-8 poetry[1533685]:     stream: anyio.abc.ByteStream = await anyio.connect_tcp(
Oct 23 09:28:01 debian-8 poetry[1533685]:                                    ^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 225, in connect_tcp
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise OSError("All connection attempts failed") from cause
Oct 23 09:28:01 debian-8 poetry[1533685]: OSError: All connection attempts failed
Oct 23 09:28:01 debian-8 poetry[1533685]: The above exception was the direct cause of the following exception:
Oct 23 09:28:01 debian-8 poetry[1533685]: Traceback (most recent call last):
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
Oct 23 09:28:01 debian-8 poetry[1533685]:     yield
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 366, in handle_async_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     resp = await self._pool.handle_async_request(req)
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise exc
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await connection.handle_async_request(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_async/connection.py", line 99, in handle_async_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise exc
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_async/connection.py", line 76, in handle_async_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     stream = await self._connect(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_async/connection.py", line 124, in _connect
Oct 23 09:28:01 debian-8 poetry[1533685]:     stream = await self._network_backend.connect_tcp(**kwargs)
Oct 23 09:28:01 debian-8 poetry[1533685]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
Oct 23 09:28:01 debian-8 poetry[1533685]:     return await self._backend.connect_tcp(
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 112, in connect_tcp
Oct 23 09:28:01 debian-8 poetry[1533685]:     with map_exceptions(exc_map):
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
Oct 23 09:28:01 debian-8 poetry[1533685]:     self.gen.throw(typ, value, traceback)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise to_exc(exc) from exc
Oct 23 09:28:01 debian-8 poetry[1533685]: httpcore.ConnectError: All connection attempts failed
Oct 23 09:28:01 debian-8 poetry[1533685]: The above exception was the direct cause of the following exception:
Oct 23 09:28:01 debian-8 poetry[1533685]: Traceback (most recent call last):
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, _send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await self.dispatch_func(request, call_next)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/slowapi/middleware.py", line 136, in dispatch
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await call_next(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise app_exc
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive_or_disconnect, send_no_error)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await self.dispatch_func(request, call_next)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 236, in block_allow_ip_middleware
Oct 23 09:28:01 debian-8 poetry[1533685]:     return await call_next(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise app_exc
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive_or_disconnect, send_no_error)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await self.dispatch_func(request, call_next)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 236, in block_allow_ip_middleware
Oct 23 09:28:01 debian-8 poetry[1533685]:     return await call_next(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise app_exc
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive_or_disconnect, send_no_error)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 151, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 70, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 130, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await super().__call__(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/gzip.py", line 24, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await responder(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/gzip.py", line 44, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, self.send_with_gzip)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/cors.py", line 91, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.simple_response(scope, receive, send, request_headers=headers)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/cors.py", line 146, in simple_response
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise exc
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, sender)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise e
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
Oct 23 09:28:01 debian-8 poetry[1533685]:     await route.handle(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
Oct 23 09:28:01 debian-8 poetry[1533685]:     await self.app(scope, receive, send)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await func(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
Oct 23 09:28:01 debian-8 poetry[1533685]:     raw_response = await run_endpoint_function(
Oct 23 09:28:01 debian-8 poetry[1533685]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
Oct 23 09:28:01 debian-8 poetry[1533685]:     return await dependant.call(**values)
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/extensions/tipjar/views_api.py", line 70, in api_create_tip
Oct 23 09:28:01 debian-8 poetry[1533685]:     charge_id = await create_charge(
Oct 23 09:28:01 debian-8 poetry[1533685]:                 ^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/lnbits/lnbits/extensions/tipjar/helpers.py", line 9, in create_charge
Oct 23 09:28:01 debian-8 poetry[1533685]:     r = await client.post(
Oct 23 09:28:01 debian-8 poetry[1533685]:         ^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1848, in post
Oct 23 09:28:01 debian-8 poetry[1533685]:     return await self.request(
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
Oct 23 09:28:01 debian-8 poetry[1533685]:     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
Oct 23 09:28:01 debian-8 poetry[1533685]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await self._send_handling_auth(
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await self._send_handling_redirects(
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await self._send_single_request(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     response = await transport.handle_async_request(request)
Oct 23 09:28:01 debian-8 poetry[1533685]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 365, in handle_async_request
Oct 23 09:28:01 debian-8 poetry[1533685]:     with map_httpcore_exceptions():
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
Oct 23 09:28:01 debian-8 poetry[1533685]:     self.gen.throw(typ, value, traceback)
Oct 23 09:28:01 debian-8 poetry[1533685]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
Oct 23 09:28:01 debian-8 poetry[1533685]:     raise mapped_exc(message) from exc
Oct 23 09:28:01 debian-8 poetry[1533685]: httpx.ConnectError: All connection attempts failed
Oct 23 09:28:01 debian-8 poetry[1533685]: 2023-10-23 09:28:01.65 | ERROR | lnbits.app:exception_handler:459 | Exception: All connection attempts failed
Oct 23 09:28:01 debian-8 poetry[1533685]: 2023-10-23 09:28:01.65 | INFO | 90.187.0.0:0 - "POST /tipjar/api/v1/tips HTTP/1.1" 500
Oct 23 09:28:01 debian-8 poetry[1533685]: 2023-10-23 09:28:01.65 | ERROR | Exception in ASGI application
TrezorHannes commented 9 months ago

Any idea what I can look into @dni ?

dni commented 9 months ago

satspay has to be installed, tipjar is a bit weird as it depends on other extensions, but there was no warning for it until now.

TrezorHannes commented 9 months ago

satspay has to be installed, tipjar is a bit weird as it depends on other extensions, but there was no warning for it until now.

Can confirm satspay is installed and upgraded post migration to it's newest install, 0.2.5. Shall I try to downgrade satspay? I assumed it's more about uvloop/loop.pyx per the first couple of lines of the error.log

TrezorHannes commented 5 months ago

I've been able to reproduce this on a second server. Our dev server is running on the latest built, with the latest

Noone facing the same issue?

Traceback

Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: Traceback (most recent call last):
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 167, in try_connect
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     stream = await asynclib.connect_tcp(remote_host, remote_port, local_address)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1627, in connect_tcp
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await get_running_loop().create_connection(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "uvloop/loop.pyx", line 2039, in create_connection
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: ConnectionRefusedError: [Errno 111] Connection refused
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: The above exception was the direct cause of the following exception:
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: Traceback (most recent call last):
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     yield
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     stream: anyio.abc.ByteStream = await anyio.connect_tcp(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 225, in connect_tcp
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise OSError("All connection attempts failed") from cause
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: OSError: All connection attempts failed
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: The above exception was the direct cause of the following exception:
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: Traceback (most recent call last):
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     yield
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_transports/default.py", line 366, in handle_async_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     resp = await self._pool.handle_async_request(req)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await connection.handle_async_request(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_async/connection.py", line 99, in handle_async_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_async/connection.py", line 76, in handle_async_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     stream = await self._connect(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_async/connection.py", line 124, in _connect
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     stream = await self._network_backend.connect_tcp(**kwargs)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await self._backend.connect_tcp(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 112, in connect_tcp
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     with map_exceptions(exc_map):
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     self.gen.throw(typ, value, traceback)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise to_exc(exc) from exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: httpcore.ConnectError: All connection attempts failed
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: The above exception was the direct cause of the following exception:
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: Traceback (most recent call last):
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, _send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self.dispatch_func(request, call_next)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/slowapi/middleware.py", line 136, in dispatch
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await call_next(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise app_exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive_or_disconnect, send_no_error)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self.dispatch_func(request, call_next)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 215, in block_allow_ip_middleware
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await call_next(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise app_exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive_or_disconnect, send_no_error)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self.dispatch_func(request, call_next)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 215, in block_allow_ip_middleware
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await call_next(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise app_exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive_or_disconnect, send_no_error)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self.dispatch_func(request, call_next)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 230, in first_install_middleware
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await call_next(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise app_exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive_or_disconnect, send_no_error)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self.dispatch_func(request, call_next)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 230, in first_install_middleware
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await call_next(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise app_exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive_or_disconnect, send_no_error)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 125, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 61, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 83, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, send_wrapper)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/middleware.py", line 104, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await super().__call__(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await responder(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, self.send_with_gzip)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/cors.py", line 91, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.simple_response(scope, receive, send, request_headers=headers)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/cors.py", line 146, in simple_response
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await app(scope, receive, sender)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 758, in __call__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.middleware_stack(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 778, in app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await route.handle(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await self.app(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 79, in app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     await app(scope, receive, sender)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 74, in app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await func(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/fastapi/routing.py", line 299, in app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise e
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/fastapi/routing.py", line 294, in app
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raw_response = await run_endpoint_function(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await dependant.call(**values)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/extensions/tipjar/views_api.py", line 68, in api_create_tip
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     charge_id = await create_charge(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/lnbits/lnbits/extensions/tipjar/helpers.py", line 9, in create_charge
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     r = await client.post(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1848, in post
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await self.request(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1617, in send
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self._send_handling_auth(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self._send_handling_redirects(
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await self._send_single_request(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1719, in _send_single_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     response = await transport.handle_async_request(request)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_transports/default.py", line 365, in handle_async_request
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     with map_httpcore_exceptions():
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     self.gen.throw(typ, value, traceback)
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:   File "/home/lnbits/.cache/pypoetry/virtualenvs/lnbits-Me3QFGJB-py3.10/lib/python3.10/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]:     raise mapped_exc(message) from exc
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: httpx.ConnectError: All connection attempts failed
Feb 13 23:19:05 vmd95810.contaboserver.net poetry[3668995]: 2024-02-13 23:19:05.45 | ERROR | lnbits.app:exception_handler:488 | Exception: All connection attempts failed
poetry show
anyio                     3.7.1       High level compatibility layer for multiple asynchronous event loop implementations
asn1crypto                1.5.1       Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKC...
attrs                     23.1.0      Classes Without Boilerplate
base58                    2.1.1       Base58 and Base58Check implementation.
bcrypt                    4.1.1       Modern password hashing for your software and your servers
bech32                    1.2.0       Reference implementation for Bech32 and segwit addresses.
bitarray                  2.8.4       efficient arrays of booleans -- C extension
bitstring                 4.1.4       Simple construction, analysis and modification of binary data.
black                     23.11.0     The uncompromising code formatter.
bolt11                    2.0.5       A library for encoding and decoding BOLT11 payment requests.
certifi                   2023.11.17  Python package for providing Mozilla's CA Bundle.
cffi                      1.16.0      Foreign Function Interface for Python calling C code.
cfgv                      3.4.0       Validate configuration and produce human readable error messages.
charset-normalizer        3.3.2       The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
click                     8.1.7       Composable command line interface toolkit
coincurve                 18.0.0      Cross-platform Python CFFI bindings for libsecp256k1
coverage                  7.3.2       Code coverage measurement for Python
cryptography              41.0.7      cryptography is a package which provides cryptographic recipes and primitives to Python developers.
deprecated                1.2.14      Python @deprecated decorator to deprecate old python classes, functions or methods.
distlib                   0.3.7       Distribution utilities
dnspython                 2.4.2       DNS toolkit
ecdsa                     0.18.0      ECDSA cryptographic signature library (pure python)
email-validator           2.1.0.post1 A robust email address syntax and deliverability validation library.
embit                     0.7.0       yet another bitcoin library
environs                  9.5.0       simplified environment variable parsing
exceptiongroup            1.2.0       Backport of PEP 654 (exception groups)
fastapi                   0.109.2     FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi-sso               0.9.1       FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsof...
filelock                  3.13.1      A platform independent file lock.
grpcio                    1.58.0      HTTP/2-based RPC framework
h11                       0.14.0      A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
http-ece                  1.1.0       Encrypted Content Encoding for HTTP
httpcore                  0.18.0      A minimal low-level HTTP client.
httpx                     0.25.0      The next generation HTTP client.
identify                  2.5.32      File identification library for Python
idna                      3.6         Internationalized Domain Names in Applications (IDNA)
importlib-resources       6.1.1       Read resources from Python packages
iniconfig                 2.0.0       brain-dead simple config-ini parsing
itsdangerous              2.1.2       Safely pass data to untrusted environments and back.
jinja2                    3.1.3       A very fast and expressive template engine.
jsonschema                4.20.0      An implementation of JSON Schema validation for Python
jsonschema-spec           0.2.4       JSONSchema Spec with object-oriented paths
jsonschema-specifications 2023.7.1    The JSON Schema meta-schemas and vocabularies, exposed as a Registry
lazy-object-proxy         1.9.0       A fast and thorough lazy object proxy.
limits                    3.7.0       Rate limiting utilities
lnurl                     0.4.2       LNURL implementation for Python.
loguru                    0.7.2       Python logging made (stupidly) simple
markupsafe                2.1.3       Safely add untrusted strings to HTML/XML markup.
marshmallow               3.20.1      A lightweight library for converting complex datatypes to and from native Python datatypes.
mypy                      1.7.1       Optional static typing for Python
mypy-extensions           1.0.0       Type system extensions for programs checked with the mypy type checker.
nodeenv                   1.8.0       Node.js virtual environment builder
oauthlib                  3.2.2       A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
openapi-schema-validator  0.6.2       OpenAPI schema validation for Python
openapi-spec-validator    0.6.0       OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator
outcome                   1.3.0.post0 Capture the outcome of Python function calls.
packaging                 23.1        Core utilities for Python packages
passlib                   1.7.4       comprehensive password hashing framework supporting over 30 schemes
pathable                  0.4.3       Object-oriented paths
pathspec                  0.11.2      Utility library for gitignore style pattern matching of file paths.
platformdirs              4.1.0       A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".
pluggy                    1.3.0       plugin and hook calling mechanisms for python
pre-commit                3.5.0       A framework for managing and maintaining multi-language pre-commit hooks.
protobuf                  4.24.3      
psycopg2-binary           2.9.7       psycopg2 - Python-PostgreSQL Database Adapter
py-vapid                  1.9.0       Simple VAPID header generation library
pyasn1                    0.5.1       Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
pycparser                 2.21        C parser in Python
pycryptodomex             3.19.0      Cryptographic library for Python
pydantic                  1.10.9      Data validation and settings management using python type hints
pyln-bolt7                1.0.246     BOLT7
pyln-client               23.8        Client library and plugin library for Core Lightning
pyln-proto                23.11       This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing...
pyqrcode                  1.2.1       A QR code generator written purely in Python with SVG, EPS, PNG and terminal output.
pysocks                   1.7.1       A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information.
pytest                    7.4.3       pytest: simple powerful testing with Python
pytest-asyncio            0.21.1      Pytest support for asyncio
pytest-cov                4.1.0       Pytest plugin for measuring coverage.
python-crontab            3.0.0       Python Crontab API
python-dateutil           2.8.2       Extensions to the standard Python datetime module
python-dotenv             1.0.0       Read key-value pairs from a .env file and set them as environment variables
python-jose               3.3.0       JOSE implementation in Python
pywebpush                 1.14.0      WebPush publication library
pyyaml                    6.0.1       YAML parser and emitter for Python
referencing               0.30.2      JSON Referencing + Python
represent                 1.6.0.post0 Create __repr__ automatically or declaratively.
requests                  2.31.0      Python HTTP for Humans.
rfc3339-validator         0.1.4       A pure python RFC3339 validator
rpds-py                   0.10.3      Python bindings to Rust's persistent data structures (rpds)
rsa                       4.9         Pure-Python RSA implementation
ruff                      0.0.291     An extremely fast Python linter, written in Rust.
secp256k1                 0.14.0      FFI bindings to libsecp256k1
setuptools                69.0.2      Easily download, build, install, upgrade, and uninstall Python packages
shortuuid                 1.0.11      A generator library for concise, unambiguous and URL-safe UUIDs.
six                       1.16.0      Python 2 and 3 compatibility utilities
slowapi                   0.1.9       A rate limiting extension for Starlette and Fastapi
sniffio                   1.3.0       Sniff out which async library your code is running under
sqlalchemy                1.3.24      Database Abstraction Library
sqlalchemy-aio            0.17.0      Async support for SQLAlchemy.
sse-starlette             1.6.5       "SSE plugin for Starlette"
starlette                 0.36.3      The little ASGI library that shines.
tomli                     2.0.1       A lil' TOML parser
types-passlib             1.7.7.13    Typing stubs for passlib
types-protobuf            4.24.0.4    Typing stubs for protobuf
types-pyasn1              0.5.0.1     Typing stubs for pyasn1
types-python-jose         3.3.4.8     Typing stubs for python-jose
typing-extensions         4.8.0       Backported and Experimental Type Hints for Python 3.8+
urllib3                   2.1.0       HTTP library with thread-safe connection pooling, file post, and more.
uvicorn                   0.23.2      The lightning-fast ASGI server.
uvloop                    0.17.0      Fast implementation of asyncio event loop on top of libuv
virtualenv                20.25.0     Virtual Python Environment builder
wallycore                 1.0.0       libwally Bitcoin library
websocket-client          1.6.3       WebSocket client for Python with low level API options
websockets                11.0.3      An implementation of the WebSocket Protocol (RFC 6455 & 7692)
wrapt                     1.16.0      Module for decorators, wrappers and monkey patching.