You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUT I'm receiving an error [****]:
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Note:
I've changed the restfulie.processor.py (as I saw on stackoverflow [2] )
and it worked:
from self.http = httplib2.Http()
to self.http = httplib2.Http(".cache", disable_ssl_certificate_validation=True)
Is it possible to add some command on restfulie DSL to disable the SSL?
If you need more detail or in case I can help in something.
Please, let me know, once I'd love to keep using restfulie-py on our project.
resp = Restfulie.at("https://http.api.yoursrs-ote.com/v1//domains/roger123aaa.com/check").post(**params).resource()
Traceback (most recent call last):
File "", line 1, in
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/request.py", line 25, in call
return self._process_flow(kwargs)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/request.py", line 38, in _process_flow
return Parser(procs).follow(self.config, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/parser.py", line 11, in follow
result = processor.execute(self, request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/processor.py", line 21, in execute
return chain.follow(request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/parser.py", line 11, in follow
result = processor.execute(self, request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/processor.py", line 83, in execute
result = chain.follow(request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/parser.py", line 11, in follow
result = processor.execute(self, request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/processor.py", line 65, in execute
return chain.follow(request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/parser.py", line 11, in follow
result = processor.execute(self, request, env)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/restfulie/processor.py", line 42, in execute
env.get("body"), request.headers)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/httplib2/init.py", line 1570, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/httplib2/init.py", line 1317, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/httplib2/init.py", line 1252, in _conn_request
conn.connect()
File "/pydev/roger/iame_cms/lib/python2.6/site-packages/httplib2/init.py", line 1044, in connect
raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
The text was updated successfully, but these errors were encountered:
I'm using restfulie to make request on realtimeregister API [1]:
params = {'login_handle': 'djenie-ote', 'login_pass': 'mypassword'}
resp = Restfulie.at("https://http.api.yoursrs-ote.com/v1//domains/newdomain.com/check").post(**params).resource()
BUT I'm receiving an error [****]:
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Note:
I've changed the restfulie.processor.py (as I saw on stackoverflow [2] )
and it worked:
from self.http = httplib2.Http()
to self.http = httplib2.Http(".cache", disable_ssl_certificate_validation=True)
Is it possible to add some command on restfulie DSL to disable the SSL?
If you need more detail or in case I can help in something.
Please, let me know, once I'd love to keep using restfulie-py on our project.
Cheers,
Roger
[1] https://dm.yoursrs-ote.com/
[2] http://stackoverflow.com/questions/13707606/httplib2-ssl-error
[****]
The text was updated successfully, but these errors were encountered: