webwrite to InfluxDB timeouts on Linux

4 次查看(过去 30 天)
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!

采纳的回答

Nihal
Nihal 2024-2-3
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by