I am trying to play with the samples at https://github.com/apigee/api-platform-samples
However, when I try to deploy a policy (xmltojson) with ./deploy I get the following error in the console,
Can you please help ? Thanks.
$ ./deploy.sh
Enter your password for the Apigee Enterprise organization alfredovelasco-eval, followed by [ENTER]:
Deploying to test on https://api.enterprise.apigee.com using luis.grijalba@gmail.com and luis.grijalba-eval
Writing ../xmltojson/deploy.sh to ./deploy.sh
Writing ../xmltojson/invoke.sh to ./invoke.sh
Writing ../xmltojson/README.md to ./README.md
Writing ../xmltojson/apiproxy/xmltojson.xml to apiproxy/xmltojson.xml
Writing ../xmltojson/apiproxy/policies/xmltojson.xml to apiproxy/policies/xmltojson.xml
Writing ../xmltojson/apiproxy/proxies/default.xml to apiproxy/proxies/default.xml
Writing ../xmltojson/apiproxy/targets/default.xml to apiproxy/targets/default.xml
Traceback (most recent call last):
File "../../tools/deploy.py", line 201, in <module>
resp = httpCall('POST', uri, hdrs, body)
File "../../tools/deploy.py", line 28, in httpCall
conn.request(verb, uri, body, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in request
self._send_request(method, url, body, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1093, in _send_request
self.endheaders(body)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders
self._send_output(message_body)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output
self.send(msg)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send
self.connect()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect
server_hostname=server_hostname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket
_context=self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__
self.do_handshake()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:590)
If 'State: deployed', then your API Proxy is ready to be invoked.
Run 'invoke.sh'
I am sometimes getting the following error.
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
socket.error: [Errno 54] Connection reset by peer
Please help. Thanks a lot.
Can you help with this issue ? Thanks.
@Luis Grijalba socket.error: [Errno 54] Connection reset by peer
Last time I encountered this error, I was working in remote location having issues to connect to https.
I was able to resolve it by connecting to my company's VPN.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |