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
I have deployed the service on a docker container and tested some simple python code for run service, but when requests used, the service not worked well. Below is the request body data = { "language": "python3", "code": '''import requests resp = requests.get("http://www.baidu.com") ''' }
And this is part response content requests.exceptions.ConnectionError: HTTPConnectionPool(host='www.baidu.com', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('\u003curllib3.connection.HTTPConnection object at 0x7f65e8690450\u003e: Failed to establish a new connection: [Errno -2] Name or service not known'))\nerror: exit status 255\n
Firstly, I think DNS not work well. Maybe something wrong happened in my work.
Also I tested cmd/test/permission/main.go, it seemed have some problem. Can you give me some idea, Thank you very much!
The text was updated successfully, but these errors were encountered:
I have deployed the service on a docker container and tested some simple python code for run service, but when requests used, the service not worked well. Below is the request body
data = { "language": "python3", "code": '''import requests resp = requests.get("http://www.baidu.com") ''' }
And this is part response content
requests.exceptions.ConnectionError: HTTPConnectionPool(host='www.baidu.com', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('\u003curllib3.connection.HTTPConnection object at 0x7f65e8690450\u003e: Failed to establish a new connection: [Errno -2] Name or service not known'))\nerror: exit status 255\n
Firstly, I think DNS not work well. Maybe something wrong happened in my work.
Also I tested cmd/test/permission/main.go, it seemed have some problem. Can you give me some idea, Thank you very much!
The text was updated successfully, but these errors were encountered: