HTTPS Request Handling in Frappe Rest Api in python

I have frappe rest api in python. I have created a http server on the same to handle request.
I want to handle the data coming from HTTPS url.
So that i can insert or update in our frappe erpenext. I am not able to detect https request on this server. Please let me know how i can resolve the problem.

Can Please share the error you are getting.

Eb: my url -
sending post request to python server file which is hosted with ssl and python 2.7 version.
Whenever i request the url, I am not able to login through FrappeClient class.

Error - not able to login through whenever we pass data to login function like
url = https://myerpnextdomaincom
username: Administartor
password: pass123

Hi @Jitendra_Khatri I am getting following error.

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7efe018db048>: Failed to establish a new connection: [Errno 110] Connection timed out’,))

Thanks in advance