requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘database.xxx.cn‘, port=8086): Max

  The error message you are seeing is from Python’s requests library. It is an HTTP library used to send HTTP requests. The ConnectionError is being raised because your application is unable to establish a connection with the specified server.

  The error message indicates that the server at database.xxx.cn on port 8086 is refusing to accept a connection from your application. There could be a number of reasons for this, but some of the most common ones include:

  • The server is down: The server at database.xxx.cn may be experiencing downtime or some technical issues.
  • Network issues: There could be network issues between your application and the server, such as a firewall blocking the connection.
  • Wrong port: It’s possible that the server isn’t set up to accept connections on the port you’re trying to connect to (8086). It’s often a good idea to double-check this.
  • Too many requests: If your application has been sending too many requests to the server, the server might start refusing new ones.

You could try debugging this issue by:

  • Confirming if the server is running and accessible.
  • Checking if the port is correct and open.
  • Looking for any network issues or firewalls that may be blocking the connection.
  • Reducing the rate of requests if you’re sending many in a short amount of time.
  • Checking the server logs if you have access to them, they might provide more insight into why the connection was refused.
  • If none of the above work, you might want to get in touch with the administrator of the server for more details.

你可能感兴趣的:(Server,Database,数据库,server,instance,flask,connection)