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
root@2b2e772eeff1:/code# ./sender-http.py
http://http:/rabbitmq:15672/api/api/exchanges/myvh/amq.default/publish
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 1187, in _conn_request
conn.connect()
File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 918, in connect
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pyrabbit/http.py", line 106, in do_call
headers)
File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 1514, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 1264, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 1194, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.ServerNotFoundError: Unable to find the server at http
And string http://http:/rabbitmq:15672/api/api/exchanges/myvh/amq.default/publish has obvious errors.
The text was updated successfully, but these errors were encountered:
I believe in docs/index.rst line
should be
While copying example code, I first got:
And string
http://http:/rabbitmq:15672/api/api/exchanges/myvh/amq.default/publish
has obvious errors.The text was updated successfully, but these errors were encountered: