Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Live data from API #29

@Gus-Co

Description

@Gus-Co

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

  1. Verified the device is powered on and connected to the network
  2. Confirmed the IP address (10.10.90.41) is correct
  3. Attempted to access the API directly via browser/Postman - (to which it has failed)
Image
  1. Checked for any firewall/network restrictions
  2. Verified the port number (54000) is correct

Questions

  1. Is there a rate limit or connection limit on the /api/data/live endpoint?
  2. Are there any specific requirements for authenticating with the API?
  3. Should there be any specific headers or parameters in the request?
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions