Unable to connect to servicenow
I am facing below error when trying to connect to servicenow suing json. Code i am trying to run is:
from servicenow import ServiceNow
from servicenow import Connection
conn = Connection.Auth(username='admin.main', password='Rusty123#', instance='abcd.servicenow.com')
inc = inc.fetch_one({'number': 'INCV0346936'})
print inc
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='abcd.servicenow.com.service-n