iControlUnexpectedHTTPError
I get an iControlUnexpectedHTTPError with the following source It is trying to connect to the BigIP ASM server. Does this meant something is wrong with the server? Should I use postman to test the connection of "; ?
==============Source code================================================ from import BigIP
import requests sess = requests.Session() adapter = requests.adapters.HTTPAdapter(max_retries = 20) sess.mount('https://10.1.1.241', adapter)
bigip = BigIP("10.1.1.241", "admin", "admin")
============Error Message============= requests.exceptions.SSLError/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) Traceback (most recent call last): File "test.py", line 12, in bigip = BigIP("10.1.1.241", "admin", "admin") File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line 143, in init super(BigIP, self).__init__(hostname, username, password, **kwargs) File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line 124, in init self.post_configuration_setup() File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line 91, in post_configuration_setup self._get_tmos_version() File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line 96, in _get_tmos_version response = connect.get(base_uri) File "/usr/lib/python2.7/site-packages/icontrol/session.py", line 272, in wrapper raise iControlUnexpectedHTTPError(error_message, response=response) icontrol.exceptions.iControlUnexpectedHTTPError: 503 Unexpected Error: Service Unavailable for uri: https://10.1.1.241:443/mgmt/tm/sys/
Text: u'\r\nNetwork Error\r\n\r\n\r\n
\r\n\r\nNetwork Error (tcp_error)\r\n \r\n \r\n\r\n
\r\n\r\nA communication error occurred: "Operation timed out"\r\n\r\n
\r\n\r\nThe Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.\r\n\r\n
\r\n\r\n \r\nFor assistance, contact your network support team.\r\n\r\n
\r\n\r\n\r\n\r\n'