add simple-request example

This commit is contained in:
2026-01-20 10:51:05 +01:00
parent ca69d0f820
commit bb7c63386b
6 changed files with 296 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
2026-01-20 07:40:39,014 [INFO] Attempt 1 - Requesting https://ds.abaserver.ch
2026-01-20 07:40:39,028 [INFO] Attempt 1 - SUCCESS (status_code=200, time=12.82 ms)
2026-01-20 07:41:57,414 [INFO] Attempt 1 - Requesting https://ds.abaserver.chh
2026-01-20 07:41:57,438 [ERROR] Attempt 1 - NETWORK ERROR: HTTPSConnectionPool(host='ds.abaserver.chh', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='ds.abaserver.chh', port=443): Failed to resolve 'ds.abaserver.chh' ([Errno -2] Name or service not known)"))
2026-01-20 07:42:00,438 [INFO] Attempt 2 - Requesting https://ds.abaserver.chh
2026-01-20 07:42:00,450 [ERROR] Attempt 2 - NETWORK ERROR: HTTPSConnectionPool(host='ds.abaserver.chh', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='ds.abaserver.chh', port=443): Failed to resolve 'ds.abaserver.chh' ([Errno -2] Name or service not known)"))
2026-01-20 07:42:06,450 [INFO] Attempt 3 - Requesting https://ds.abaserver.chh
2026-01-20 07:42:06,469 [ERROR] Attempt 3 - NETWORK ERROR: HTTPSConnectionPool(host='ds.abaserver.chh', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='ds.abaserver.chh', port=443): Failed to resolve 'ds.abaserver.chh' ([Errno -2] Name or service not known)"))
2026-01-20 07:42:06,469 [ERROR] FAILED after 3 attempts - Last error: HTTPSConnectionPool(host='ds.abaserver.chh', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='ds.abaserver.chh', port=443): Failed to resolve 'ds.abaserver.chh' ([Errno -2] Name or service not known)"))
2026-01-20 07:42:26,565 [INFO] Attempt 1 - Requesting https://ds.abaserver.ch
2026-01-20 07:42:26,581 [INFO] Attempt 1 - SUCCESS (status_code=200, time=14.64 ms)
2026-01-20 07:42:37,508 [INFO] Attempt 1 - Requesting https://ds.abaserver.ch
2026-01-20 07:42:37,523 [INFO] Attempt 1 - SUCCESS (status_code=200, time=14.38 ms)
2026-01-20 07:43:25,030 [INFO] Attempt 1 - Requesting https://abaserver.ch
2026-01-20 07:43:25,036 [ERROR] Attempt 1 - NETWORK ERROR: HTTPSConnectionPool(host='abaserver.ch', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='abaserver.ch', port=443): Failed to resolve 'abaserver.ch' ([Errno -5] No address associated with hostname)"))
2026-01-20 07:43:28,036 [INFO] Attempt 2 - Requesting https://abaserver.ch
2026-01-20 07:43:28,038 [ERROR] Attempt 2 - NETWORK ERROR: HTTPSConnectionPool(host='abaserver.ch', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='abaserver.ch', port=443): Failed to resolve 'abaserver.ch' ([Errno -5] No address associated with hostname)"))
2026-01-20 07:43:34,039 [INFO] Attempt 3 - Requesting https://abaserver.ch
2026-01-20 07:43:34,041 [ERROR] Attempt 3 - NETWORK ERROR: HTTPSConnectionPool(host='abaserver.ch', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='abaserver.ch', port=443): Failed to resolve 'abaserver.ch' ([Errno -5] No address associated with hostname)"))
2026-01-20 07:43:34,041 [ERROR] FAILED after 3 attempts - Last error: HTTPSConnectionPool(host='abaserver.ch', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("HTTPSConnection(host='abaserver.ch', port=443): Failed to resolve 'abaserver.ch' ([Errno -5] No address associated with hostname)"))
2026-01-20 07:45:03,254 [INFO] Attempt 1 - Requesting https://ds.abaserver.ch
2026-01-20 07:45:03,269 [INFO] Attempt 1 - SUCCESS (status_code=200, time=13.87 ms)