webwrite to InfluxDB timeouts on Linux

4 views (last 30 days)
Rafael
Rafael on 4 Apr 2022
Answered: Nihal on 3 Feb 2024
Hi all.
I got tested the InfluxDB interface from https://github.com/EnricSala/influxdb-matlab and it works fine from my windows notebook.
Going to my Linux machine the same code does only time out, also with higher limits like 30 instead of 10 seconds.
Does anyone use this or can give a hint how to get that running?
I am using the v1 API of a v2 Influx.
Thanks for any comments on that!

Accepted Answer

Nihal
Nihal on 3 Feb 2024
Hi Rafael
If you're experiencing timeouts on your Linux machine when using the same code, here are a few troubleshooting steps you might want to consider:
  1. Check Network Access: Use ping or curl to ensure your Linux machine can reach the InfluxDB server.
  2. Firewall Rules: Verify no firewall rules on your Linux machine are blocking the connection.
  3. Server Configuration: Confirm the InfluxDB server is set to accept connections from your Linux IP.
  4. MATLAB Preferences: Check MATLAB's network settings on Linux.
  5. Dependencies: Ensure all required dependencies are installed.
  6. Proxy Settings: If behind a proxy, configure MATLAB accordingly.
  7. API Compatibility: Make sure InfluxDB v2 is properly set to handle v1 API requests.
  8. Verbose Errors: Enable verbose error output in MATLAB for clues.
  9. Server Logs: Check InfluxDB server logs for any error indications.
I hope it helps

More Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!