We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Paying with a bolt card that have reached its daily limit just get stuck without give any hint about the problem, just disable the NFC support
2025-01-18 11:21:47.45 | INFO | 127.0.0.1:50680 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices?amount=10&memo=%E2%82%AC0.01&tipAmount=0 HTTP/1.1" 201 2025-01-18 11:21:50.65 | INFO | 127.0.0.1:57386 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:21:53.65 | INFO | 127.0.0.1:57402 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:21:55.20 | INFO | 127.0.0.1:57436 - "GET /boltcards/api/v1/scan/ZZZZZZZZZZZZZz?p=ZZZZZZZZZZZZZz&c=ZZZZZZZZZZZZZz HTTP/1.1" 200 2025-01-18 11:21:55.21 | INFO | 127.0.0.1:57446 - "GET /boltcards/api/v1/scan/ZZZZZZZZZZZZZz?p=ZZZZZZZZZZZZZz&c=ZZZZZZZZZZZZZz HTTP/1.1" 200 Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive return self.receive_nowait() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait raise WouldBlock anyio.WouldBlock During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 159, in call_next message = await recv_stream.receive() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive raise EndOfStream anyio.EndOfStream During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/.venv/lib/python3.10/site-packages/slowapi/middleware.py", line 136, in dispatch response = await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 215, in block_allow_ip_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 228, in first_install_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/lnbits/middleware.py", line 125, in __call__ await self.app(scope, receive, send) File "/app/lnbits/middleware.py", line 61, in __call__ await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in __call__ await self.app(scope, receive, send_wrapper) File "/app/lnbits/middleware.py", line 104, in __call__ await super().__call__(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__ await responder(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 148, in simple_response await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 72, in app response = await func(request) File "/app/lnbits/extensions/tpos/__init__.py", line 29, in custom_route_handler raise exc File "/app/lnbits/extensions/tpos/__init__.py", line 21, in custom_route_handler response = await original_route_handler(request) File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app raw_response = await run_endpoint_function( File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) File "/app/lnbits/extensions/tpos/views_api.py", line 186, in api_tpos_pay_invoice if resp["tag"] != "withdrawRequest": KeyError: 'tag' 2025-01-18 11:21:55.22 | ERROR | Exception: 'tag' 2025-01-18 11:21:55.22 | INFO | 127.0.0.1:57408 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/lnbcXXXXXXXXXXX/pay HTTP/1.1" 500 2025-01-18 11:21:55.22 | ERROR | Exception in ASGI application Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive return self.receive_nowait() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait raise WouldBlock anyio.WouldBlock During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 159, in call_next message = await recv_stream.receive() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive raise EndOfStream anyio.EndOfStream During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/.venv/lib/python3.10/site-packages/slowapi/middleware.py", line 136, in dispatch response = await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 215, in block_allow_ip_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 228, in first_install_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro 2025-01-18 11:21:55.23 | ERROR | Exception: 'tag' await self.app(scope, receive_or_disconnect, send_no_error) File "/app/lnbits/middleware.py", line 125, in __call__ await self.app(scope, receive, send) File "/app/lnbits/middleware.py", line 61, in __call__ await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in __call__ await self.app(scope, receive, send_wrapper) File "/app/lnbits/middleware.py", line 104, in __call__ await super().__call__(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__ await responder(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 148, in simple_response await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 72, in app response = await func(request) File "/app/lnbits/extensions/tpos/__init__.py", line 29, in custom_route_handler raise exc File "/app/lnbits/extensions/tpos/__init__.py", line 21, in custom_route_handler response = await original_route_handler(request) File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app raw_response = await run_endpoint_function( File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) File "/app/lnbits/extensions/tpos/views_api.py", line 186, in api_tpos_pay_invoice if resp["tag"] != "withdrawRequest": KeyError: 'tag' 2025-01-18 11:21:55.23 | INFO | 127.0.0.1:57420 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/lnbcXXXXXXXXXXX/pay HTTP/1.1" 500 2025-01-18 11:21:55.23 | ERROR | Exception in ASGI application 2025-01-18 11:21:56.64 | INFO | 127.0.0.1:57454 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:21:59.63 | INFO | 127.0.0.1:44764 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:22:02.62 | INFO | 127.0.0.1:44768 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:22:05.67 | INFO | 127.0.0.1:44780 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:22:08.64 | INFO | 127.0.0.1:53390 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:22:11.62 | INFO | 127.0.0.1:53394 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:22:14.67 | INFO | 127.0.0.1:53398 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/YYYYYYYYYYYYYY HTTP/1.1" 200 2025-01-18 11:22:18.73 | INFO | 127.0.0.1:36924 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices?amount=10&memo=%E2%82%AC0.01&tipAmount=0 HTTP/1.1" 201 2025-01-18 11:22:21.87 | INFO | 127.0.0.1:36934 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/XXXXXXXXXXX HTTP/1.1" 200 2025-01-18 11:22:24.88 | INFO | 127.0.0.1:36940 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/XXXXXXXXXXX HTTP/1.1" 200 2025-01-18 11:22:27.86 | INFO | 127.0.0.1:56326 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/XXXXXXXXXXX HTTP/1.1" 200 2025-01-18 11:22:30.86 | INFO | 127.0.0.1:56340 - "GET /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/XXXXXXXXXXX HTTP/1.1" 200 2025-01-18 11:22:32.68 | INFO | 127.0.0.1:56378 - "GET /boltcards/api/v1/scan/ZZZZZZZZZZZZZz?p=XXXXXXXXXXX&c=XXXXXXXXXXX HTTP/1.1" 200 2025-01-18 11:22:32.69 | INFO | 127.0.0.1:56386 - "GET /boltcards/api/v1/scan/ZZZZZZZZZZZZZz?p=XXXXXXXXXXX&c=XXXXXXXXXXX HTTP/1.1" 200 2025-01-18 11:22:32.70 | INFO | 127.0.0.1:56396 - "GET /boltcards/api/v1/scan/ZZZZZZZZZZZZZz?p=XXXXXXXXXXX&c=XXXXXXXXXXX HTTP/1.1" 200 Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive return self.receive_nowait() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait raise WouldBlock anyio.WouldBlock During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 159, in call_next message = await recv_stream.receive() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive raise EndOfStream anyio.EndOfStream During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/.venv/lib/python3.10/site-packages/slowapi/middleware.py", line 136, in dispatch response = await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 215, in block_allow_ip_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 228, in first_install_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/lnbits/middleware.py", line 125, in __call__ await self.app(scope, receive, send) File "/app/lnbits/middleware.py", line 61, in __call__ await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in __call__ await self.app(scope, receive, send_wrapper) File "/app/lnbits/middleware.py", line 104, in __call__ await super().__call__(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__ await responder(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 93, in __call__ 2025-01-18 11:22:32.71 | ERROR | Exception: 'tag' await self.simple_response(scope, receive, send, request_headers=headers) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 148, in simple_response await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 72, in app response = await func(request) File "/app/lnbits/extensions/tpos/__init__.py", line 29, in custom_route_handler raise exc File "/app/lnbits/extensions/tpos/__init__.py", line 21, in custom_route_handler response = await original_route_handler(request) File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app raw_response = await run_endpoint_function( File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) File "/app/lnbits/extensions/tpos/views_api.py", line 186, in api_tpos_pay_invoice if resp["tag"] != "withdrawRequest": KeyError: 'tag' 2025-01-18 11:22:32.71 | INFO | 127.0.0.1:56356 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/lnbcYYYYYYYYYYYYYYY/pay HTTP/1.1" 500 2025-01-18 11:22:32.71 | ERROR | Exception in ASGI application Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive return self.receive_nowait() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait raise WouldBlock anyio.WouldBlock During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 159, in call_next message = await recv_stream.receive() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive raise EndOfStream anyio.EndOfStream During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/.venv/lib/python3.10/site-packages/slowapi/middleware.py", line 136, in dispatch response = await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 215, in block_allow_ip_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 228, in first_install_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/lnbits/middleware.py", line 125, in __call__ await self.app(scope, receive, send) File "/app/lnbits/middleware.py", line 61, in __call__ await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in __call__ await self.app(scope, receive, send_wrapper) File "/app/lnbits/middleware.py", line 104, in __call__ await super().__call__(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__ await responder(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 148, in simple_response await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 72, in app response = await func(request) File "/app/lnbits/extensions/tpos/__init__.py", line 29, in custom_route_handler raise exc File "/app/lnbits/extensions/tpos/__init__.py", line 21, in custom_route_handler response = await original_route_handler(request) File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app raw_response = await run_endpoint_function( File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) File "/app/lnbits/extensions/tpos/views_api.py", line 186, in api_tpos_pay_invoice if resp["tag"] != "withdrawRequest": KeyError: 'tag' 2025-01-18 11:22:32.71 | ERROR | Exception: 'tag' 2025-01-18 11:22:32.71 | INFO | 127.0.0.1:56362 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/lnbcYYYYYYYYYYYYYYY/pay HTTP/1.1" 500 2025-01-18 11:22:32.71 | ERROR | Exception in ASGI application Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive return self.receive_nowait() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait raise WouldBlock anyio.WouldBlock During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 159, in call_next message = await recv_stream.receive() File "/app/.venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive raise EndOfStream anyio.EndOfStream During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/.venv/lib/python3.10/site-packages/slowapi/middleware.py", line 136, in dispatch response = await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 215, in block_allow_ip_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) File "/app/lnbits/middleware.py", line 228, in first_install_middleware return await call_next(request) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next raise app_exc File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/app/lnbits/middleware.py", line 125, in __call__ await self.app(scope, receive, send) File "/app/lnbits/middleware.py", line 61, in __call__ await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in __call__ await self.app(scope, receive, send_wrapper) File "/app/lnbits/middleware.py", line 104, in __call__ await super().__call__(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__ await responder(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 148, in simple_response await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle await self.app(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 72, in app response = await func(request) File "/app/lnbits/extensions/tpos/__init__.py", line 29, in custom_route_handler raise exc File "/app/lnbits/extensions/tpos/__init__.py", line 21, in custom_route_handler response = await original_route_handler(request) File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app 2025-01-18 11:22:32.72 | ERROR | Exception: 'tag' raw_response = await run_endpoint_function( File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) File "/app/lnbits/extensions/tpos/views_api.py", line 186, in api_tpos_pay_invoice if resp["tag"] != "withdrawRequest": KeyError: 'tag' 2025-01-18 11:22:32.72 | INFO | 127.0.0.1:56374 - "POST /tpos/api/v1/tposs/XXXXXXXXXXXXXXXXXXXX/invoices/lnbcYYYYYYYYYYYYYYY/pay HTTP/1.1" 500 2025-01-18 11:22:32.72 | ERROR | Exception in ASGI application
Before tapping the card
After tapping the card
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Paying with a bolt card that have reached its daily limit just get stuck without give any hint about the problem, just disable the NFC support
Logs
Before tapping the card
After tapping the card
The text was updated successfully, but these errors were encountered: