Skip to content

Instantly share code, notes, and snippets.

@swipswaps
Created August 15, 2026 17:55
Show Gist options
  • Select an option

  • Save swipswaps/3d5260612a3c76bcaadb80e37f41b0bc to your computer and use it in GitHub Desktop.

Select an option

Save swipswaps/3d5260612a3c76bcaadb80e37f41b0bc to your computer and use it in GitHub Desktop.
Payment gateway rate limiting test logs
app-1 | {"asctime": "2026-08-15T17:52:54Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 1/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:52:56Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 2/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:00Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 3/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:00Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-15T17:53:24Z", "levelname": "INFO", "correlation_id": null, "message": "Job transaction_reconciliation completed successfully"}
app-1 | {"asctime": "2026-08-15T17:53:24Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 1/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:26Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 2/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:30Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 3/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:30Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-15T17:53:54Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 1/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:56Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 2/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:54:00Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 3/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:54:00Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-15T17:54:24Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 1/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:54:26Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 2/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:54:30Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 3/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:54:30Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"9f2b4bdd-c976-44e7-ace5-66ba60b1db71\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-1\", \"method\": \"POST\", \"path\": \"/api/v1/payments/execute\", \"query\": {}, \"client_ip\": \"172.20.0.1\", \"request_body\": \"{\\\"payment_id\\\":\\\"tx_1\\\",\\\"amount\\\":10.00,\\\"provider\\\":\\\"mock_payment_provider\\\"}\", \"timestamp\": 1786816478.3312917, \"status_code\": 200, \"duration_seconds\": 0.0104, \"response_body\": \"\"}"}
app-1 | INFO: 172.20.0.1:34632 - "POST /api/v1/payments/execute HTTP/1.1" 200 OK
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"c02975c5-f920-467d-a16e-a8309db78afa\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-2\", \"method\": \"POST\", \"path\": \"/api/v1/payments/execute\", \"query\": {}, \"client_ip\": \"172.20.0.1\", \"request_body\": \"{\\\"payment_id\\\":\\\"tx_2\\\",\\\"amount\\\":10.00,\\\"provider\\\":\\\"mock_payment_provider\\\"}\", \"timestamp\": 1786816478.3944294, \"status_code\": 200, \"duration_seconds\": 0.0089, \"response_body\": \"\"}"}
app-1 | INFO: 172.20.0.1:34640 - "POST /api/v1/payments/execute HTTP/1.1" 200 OK
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"ab5ea8cc-ad1b-4f0c-985b-b8fec29d3817\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-3\", \"method\": \"POST\", \"path\": \"/api/v1/payments/execute\", \"query\": {}, \"client_ip\": \"172.20.0.1\", \"request_body\": \"{\\\"payment_id\\\":\\\"tx_3\\\",\\\"amount\\\":10.00,\\\"provider\\\":\\\"mock_payment_provider\\\"}\", \"timestamp\": 1786816478.4524405, \"status_code\": 200, \"duration_seconds\": 0.0091, \"response_body\": \"\"}"}
app-1 | INFO: 172.20.0.1:34642 - "POST /api/v1/payments/execute HTTP/1.1" 200 OK
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"7ee94c49-1495-425f-9eb4-2b4b4cf9404d\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-4\", \"method\": \"POST\", \"path\": \"/api/v1/payments/execute\", \"query\": {}, \"client_ip\": \"172.20.0.1\", \"request_body\": \"{\\\"payment_id\\\":\\\"tx_4\\\",\\\"amount\\\":10.00,\\\"provider\\\":\\\"mock_payment_provider\\\"}\", \"timestamp\": 1786816478.5097866, \"status_code\": 200, \"duration_seconds\": 0.0089, \"response_body\": \"\"}"}
app-1 | INFO: 172.20.0.1:34648 - "POST /api/v1/payments/execute HTTP/1.1" 200 OK
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"37543d30-2ba5-4c9e-a459-c530f51f5671\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-5\", \"method\": \"POST\", \"path\": \"/api/v1/payments/execute\", \"query\": {}, \"client_ip\": \"172.20.0.1\", \"request_body\": \"{\\\"payment_id\\\":\\\"tx_5\\\",\\\"amount\\\":10.00,\\\"provider\\\":\\\"mock_payment_provider\\\"}\", \"timestamp\": 1786816478.567026, \"status_code\": 200, \"duration_seconds\": 0.0088, \"response_body\": \"\"}"}
app-1 | INFO: 172.20.0.1:34650 - "POST /api/v1/payments/execute HTTP/1.1" 200 OK
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "WARNING", "correlation_id": null, "message": "ratelimit 5 per 1 minute (172.20.0.1) exceeded at endpoint: /api/v1/payments/execute"}
app-1 | {"asctime": "2026-08-15T17:54:38Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"a19444e6-becc-462e-838d-b43904bb1d3f\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-6\", \"method\": \"POST\", \"path\": \"/api/v1/payments/execute\", \"query\": {}, \"client_ip\": \"172.20.0.1\", \"request_body\": \"{\\\"payment_id\\\":\\\"tx_6\\\",\\\"amount\\\":10.00,\\\"provider\\\":\\\"mock_payment_provider\\\"}\", \"timestamp\": 1786816478.6254437, \"status_code\": 429, \"duration_seconds\": 0.0089, \"response_body\": \"\"}"}
app-1 | INFO: 172.20.0.1:34658 - "POST /api/v1/payments/execute HTTP/1.1" 429 Too Many Requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment