Hi, i try to do an HTTP POST request but I have an error with this line :
sock = socket.create_connection((conn.host, conn.port), conn.timeout, conn.source_address)
File "/usr/local/lib/python2.7/dist-packages/odoo-9.0c-py2.7.egg/openerp/addons/Copa/purchase.py", line 191, in sendOrder
sock = socket.create_connection((conn.host, conn.port), conn.timeout, conn.source_address) File "/usr/lib/python2.7/socket.py", line 553, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): gaierror: [Errno -2] Name or service not known
I have no idea what is the problem, in advance, thanks for help.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/19/16, 3:51 AM|
|Seen: 214 times|
|Last updated: 4/19/16, 6:19 AM|