Forum Discussion
F5-SDK Installation
- Apr 20, 2020
Hello Ashish.
I've tested in linux mint without any issue.
You can check my log steps attached.
KR,
Dario.
Hi Dario,
Thanks for sharing above documents and URLs. I had installed the f5-SDK however while accessing the device getting below error:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='ashi2.com', port=443): Max retries exceeded with url: /mgmt/tm/sys/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f078c5b66a0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
This is surely related to self-signed SSL cert. Can you please help me how I can disable cert checking on the F5 ltm or any other way around you can suggest.
Can i do ssh to my box instead of accessing it via HTTPS:
Regards,
Ashish Solanki
No. This error comes from your 'requests' library and means that you cannot reach your device or resource.
Max retries exceeded with url: /mgmt/tm/sys/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f078c5b66a0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Insecure warnings looks like this:
InsecureRequestWarning: Unverified HTTPS request is being made to host '<BIG-IP Device>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
But these warnings should be disabled by default.
So check your destination IP, user privileges and so on.
BTW, if these answers were helpful don't forget to mark the answer as 'the best' or give some upvotes.
KR,
Dario.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com