Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get refused connecting to the toolbench server #303

Open
polkalian opened this issue Sep 2, 2024 · 3 comments
Open

Get refused connecting to the toolbench server #303

polkalian opened this issue Sep 2, 2024 · 3 comments

Comments

@polkalian
Copy link

Hi, I'm getting an error connecting to the server after running some tests. Is there a way I can solve this problem?

requests.exceptions.ConnectionError: HTTPConnectionPool(host='39.105.143.28', port=8080): Max retries exceeded with url: /rapidapi (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f54f6b8b350>: Failed to establish a new connection: [Errno 111] Connection refused'))

@sailaoda
Copy link
Contributor

sailaoda commented Sep 3, 2024

Hello, it is running normally now, you can try again

@polkalian
Copy link
Author

Hello, it is running normally now, you can try again

@sailaoda Thanks for the attention! However, I still get the same error ("ConnectionError") after several "ReadTimeout" errors when I try the new server IP released yesterday.

requests.exceptions.ReadTimeout: HTTPConnectionPool(host='47.99.174.162', port=8080): Read timed out. (read timeout=300)

To reproduce:

import requests
service_url = "http://47.99.174.162:8080/rapidapi"
payload = {'category': 'Mapping', 'tool_name': 'dargan', 'api_name': 'in_radius', 'tool_input': '{\n  "postcode": "CF103NP",\n  "radius": 2\n}', 'strip': 'truncate', 'toolbench_key': <toolbench_key>}
headers = {"toolbench_key": <toolbench_key>}
response = requests.post(service_url, json=payload, headers=headers, timeout=15)

Thanks.

@sailaoda
Copy link
Contributor

Hello, you can use the latest host 8.130.32.149, which is the server we will maintain for a long time in the future. Please feel free to contact us if you have any questions, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants