-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Connection Timeout to Testo Device API
PS it used to work, until now
Problem Description
I'm developing a Flask application that connects to a Testo device's API endpoint http://10.10.90.41:54000/api/data/live to fetch live sensor data.
Current Behavior
-
The application successfully starts and runs on port 5000
-
When attempting to connect to the Testo device API, I receive a connection timeout error:
-
The connection times out after 5 seconds (the default timeout setting)
What I've Tried
- Verified the device is powered on and connected to the network
- Confirmed the IP address (10.10.90.41) is correct
- Attempted to access the API directly via browser/Postman - (to which it has failed)
- Checked for any firewall/network restrictions
- Verified the port number (54000) is correct
Questions
- Is there a rate limit or connection limit on the
/api/data/liveendpoint? - Are there any specific requirements for authenticating with the API?
- Should there be any specific headers or parameters in the request?
- Is there a specific network configuration needed to access the device?
Environment
- Python 3.x
- Flask web server
- Requests library for HTTP calls
- Running on Windows
Additional Context
The Flask application is running on the same network as the Testo device. The code making the request is a simple GET request:
response = requests.get('[http://10.10.90.41](http://10.10.90.41):54000/api/data/live', timeout=5)Metadata
Metadata
Assignees
Labels
No labels