Detailed debug output for troubleshooting
2025-12-23 22:35:58.174 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:35:58.173 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2474, 'temperature': 0, 'gsm_level': -93, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '12', 'action': 'in_progress', 'timestamp': '2025-12-23 21:35:58', 'created_at': '2025-12-23 21:35:58', 'updated_at': '2025-12-23 21:35:58', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:35:58.172 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2474, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '12', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:35:58.172 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2474, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '12', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:30:49.496 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:30:49.495 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:30:49 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'Xde6530e8c4d5e620d0d7fc9ae149cf73', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:30:49.346 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:30:49.345 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2507, 'temperature': 0, 'gsm_level': -89, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'timestamp': '2025-12-23 21:30:49', 'created_at': '2025-12-23 21:30:49', 'updated_at': '2025-12-23 21:30:49', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:30:49.345 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2507, 'temperature': 0, 'gsm_level': '-89dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:30:49.344 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2507, 'temperature': 0, 'gsm_level': '-89dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:28:53.264 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:28:53.263 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:28:53 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'Xb5f7fc4e602bb2ca90c6af05a1af2e82', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:28:53.078 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:28:53.077 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2506, 'temperature': 0, 'gsm_level': -89, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'timestamp': '2025-12-23 21:28:53', 'created_at': '2025-12-23 21:28:53', 'updated_at': '2025-12-23 21:28:53', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:28:53.076 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2506, 'temperature': 0, 'gsm_level': '-89dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:28:53.076 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2506, 'temperature': 0, 'gsm_level': '-89dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:26:51.151 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:26:51.150 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:26:51 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'Xe2fac7247e85be8fa9aa01d62753dbd2', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:26:50.945 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:26:50.944 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2479, 'temperature': 0, 'gsm_level': -93, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'timestamp': '2025-12-23 21:26:50', 'created_at': '2025-12-23 21:26:50', 'updated_at': '2025-12-23 21:26:50', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:26:50.944 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2479, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:26:50.943 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2479, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:21:50.069 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:21:50.068 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:21:50 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'Xf852f14c5c84c7ad130522952a24561b', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:21:49.889 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:21:49.888 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2471, 'temperature': 0, 'gsm_level': -93, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'timestamp': '2025-12-23 21:21:49', 'created_at': '2025-12-23 21:21:49', 'updated_at': '2025-12-23 21:21:49', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:21:49.887 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2471, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:21:49.887 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2471, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:16:53.125 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:16:53.124 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:16:53 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'X96c51ad2a85758a1a235ac363161392d', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:16:52.931 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:16:52.930 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2478, 'temperature': 0, 'gsm_level': -93, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'timestamp': '2025-12-23 21:16:52', 'created_at': '2025-12-23 21:16:52', 'updated_at': '2025-12-23 21:16:52', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:16:52.930 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2478, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:16:52.929 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2478, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:11:49.133 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:11:49.132 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:11:49 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'X3eff7945ccc14e9153bc009d9f104b7d', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:11:48.953 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:11:48.952 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2469, 'temperature': 0, 'gsm_level': -93, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'timestamp': '2025-12-23 21:11:48', 'created_at': '2025-12-23 21:11:48', 'updated_at': '2025-12-23 21:11:48', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:11:48.951 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2469, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:11:48.951 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2469, 'temperature': 0, 'gsm_level': '-93dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '8', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:06:19.251 [DEBUG] [debug] [API] Full response: {'box_id': 3, 'tag_id': 3, 'transmission_frequency': '12', 'action': 'in_progress'}
2025-12-23 22:06:19.250 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 21:06:19 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'X72206830b9ad2b6533d1c8c79d32dff7', 'Access-Control-Allow-Origin': '*', 'X-Served-By': 'stage.sdk-dashboard.hypen.ro'}
2025-12-23 22:06:18.629 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 22:06:18.628 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 3, 'device_id': 3, 'box_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2503, 'temperature': 0, 'gsm_level': -91, 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'timestamp': '2025-12-23 21:06:18', 'created_at': '2025-12-23 21:06:18', 'updated_at': '2025-12-23 21:06:18', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 22:06:18.627 [DEBUG] [debug] [TRANSFORM] Raw input: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2503, 'temperature': 0, 'gsm_level': '-91dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
Traceback (most recent call last):
File "/app/udp_echo_server.py", line 500, in forward_to_api
resp.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://stage.sdk-dashboard.hypen.ro/api/device-data
2025-12-23 22:06:18.626 [DEBUG] [debug] [API] Raw data for forwarding: {'box_id': 3, 'tag_id': 3, 'visits_since_last_reading': 0, 'battery_voltage': 2503, 'temperature': 0, 'gsm_level': '-91dBm', 'operator': '22601', 'hw_issues': '', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'token': 'q1w2e3r4t5y6u7i8'}
2025-12-23 21:58:27.265 [ERROR] [debug] [API] Request error details: 500 Server Error: Internal Server Error for url: https://stage.sdk-dashboard.hypen.ro/api/device-data
2025-12-23 21:58:27.264 [DEBUG] [debug] [API] Response Headers: {'Server': 'openresty', 'Date': 'Tue, 23 Dec 2025 20:58:27 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'PHP/8.2.29', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '60', 'X-RateLimit-Remaining': '59', 'phpdebugbar-id': 'Xaad5f4cf262ca95f87390fe9127e3d1e', 'Access-Control-Allow-Origin': '*'}
2025-12-23 21:58:27.045 [DEBUG] [debug] [API] Full request - URL: https://stage.sdk-dashboard.hypen.ro/api/device-data, SSL Verify: False
2025-12-23 21:58:27.044 [DEBUG] [debug] [TRANSFORM] Complete Laravel payload: {'tag_id': 0, 'device_id': 0, 'box_id': 0, 'visits_since_last_reading': -1, 'battery_voltage': 2502, 'temperature': -1, 'gsm_level': -89, 'operator': '22601', 'hw_issues': ',ERR_EEP,ERR_LOW_BATT,ERR_NB_CFUN0,ERR_NB_REG,ERR_NB_INIT,ERR_UDP_SOCKET_OPEN,ERR_PIR,ERR_NB_ATTACH', 'visits_10_tx': '0', 'transmission_frequency': '0', 'action': 'in_progress', 'timestamp': '2025-12-23 20:58:27', 'created_at': '2025-12-23 20:58:27', 'updated_at': '2025-12-23 20:58:27', 'data_type': 'telemetry', 'source': 'nb_iot_gateway', 'version': '1.0', 'status': 'active', 'token': 'q1w2e3r4t5y6u7i8'}