-
Notifications
You must be signed in to change notification settings - Fork 836
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
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://localhost: 8080/get_cookie #262
Comments
Attached some log from ToolServerManager-1.
|
Try to remove the collection |
@ I try docker volume rm xagent_xagentmongodb. But meet the following error: |
Stop that container please. |
@Umpire2018 @luyaxi I stop the container and remove the entire db volumes with docker volume rm xagent_xagentmongodb. Then, I restart the service and python run.py. But I meet the same error as the begining. requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://localhost/: 8080/get_cookie |
Please try with latest images ( run |
Hello, I try the latest images. But meet the same problems. It still doesn't work. |
Does the docker logs still the same? Can you try to remove all containers with |
How to confirm the docker logs are the same? I try to restart all containers. But still occurs the same error.... I found that the cmd logs of XAgent-Server: |
Please check the ToolServerManager logs again. A complete delete of the db volumes should fix the first issue though. For the pymysql error, it caused by temporarily disconnection in setup db. You can skip it. |
The logs seems the same as the begining. The first issue still exists. 2023-11-27 11:31:47 [2023-11-27 03:31:47 +0000] [1] [INFO] Starting gunicorn 21.2.0 |
Node Status detection timeout mainly caused by the failure in node checker. It seems that your node checker does not work properly. Please make sure you obtain the latest code and set the |
The first issues has been fixed after set the requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) |
That's can be problem with XAgentGen, please pull latest image for XAgentGen and run again. |
Thanks. It works. |
Issue Description / 问题描述
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://localhost: 8080/get_cookie
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "project/XAgent/XAgentServer/server.py", line 93, in interact
raise XAgentRunningError(str(e)) from e
XAgentServer.exts.exception_ext.XAgentRunningError: 503 Server Error: Service Unavailable for url: http://localhost:8080/get_cookie
During handling of the above exception, another exception occurred:
AttributeError: 'ToolServerInterface' object has no attribute 'cookies'
Steps to Reproduce / 复现步骤
docker compose up
XAgentGen docker run
python run.py --task "find all the prime numbers <=100" --model "xagentllm" --config-file "assets/xagentllama.yml"
then get the above error.
Environment / 环境信息
The text was updated successfully, but these errors were encountered: