a) What can be the reason that i m able to connect super fast to my InfluxDB Cloud server at local computer, but fail at my virtual server (it was working fine but only fail this morning)?
b) it works sometimes after i increase the timeout to 1min. However this is still troublesome because it means the connection in unstable - it used to be very fast within 5 seconds in the past. any idea how to speed that up?
Hello @Kala Welcome!
Connecting through a virtual server could leave room for issues related to:
network latency: Check the location of the virtual server and compare it to your local machine. If the virtual server is geographically far from the InfluxDB Cloud region you’re using, it can lead to slower connection times.
firewall or network throttling: verify there arent any restrictions on that port.
does your virtual server have any resource constraints?
I’d inspect the virtual server logs to see if there are any errors or warnings related to the connection. And run network diagnostics from the virtual server to the InfluxDB Cloud endpoint to identify if there are any network bottlenecks. You could also try using persistent HTTP/HTTPS connections.