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
Thanks for devopsGPT team great working!
When I ran the code using Docker, I noticed that the frontend was displaying an error while the backend was still generating code. I got stuck at this step(please see it on screenshot). Actually, at the same time, the backend was continuing to generate code, that means the frontend error display is not correct(Because the backend logs show that, the backend should generate all the code files finally ). I have uploaded a screenshot of my page and the runtime log information. Any solution to fix this issue?
BTW,according to the backend logs, those files should store in workspace folder already, but I can't find those files in '$PWD/workspace' folder,any idea about those files store path?
I am looking forward to your suggestion to help, thank you~
AICODER_ALLOWED_ORIGIN: Allowed cross-origin addresses for the backend, matching the frontend's access address. Note: If you're not accessing the website via 127.0.0.1, manually modify apiUrl in frontend/static/js/coder.js.
AICODER_ALLOWED_ORIGIN: Allowed cross-origin addresses for the backend, matching the frontend's access address. Note: If you're not accessing the website via 127.0.0.1, manually modify apiUrl in frontend/static/js/coder.js.
Thanks for your quickly reply.
Actually, I have already modified the access address in coder.js, you can see the steps 'setup_app','clarify' executing successfully in screenshot, what I think the step 'step_subtask/analysis' may cost much time, and the time beyond the ajax call timeout setting.
I will try set a more bigger timeout value for ajax call, will let you know if it can works or not later.
Hi, I tried a more bigger timeout value for ajax call, for example:6mins. But, it still doesn't work, the browser will return the 504 error cause by the long time execution time on background. Then I do some changes for the background code logic changes:
When the background receive the 'sub_task' ajax calling at first time, the controller will works as old logic; at the same time, I stored the execution progress in cache, suppose the init value is 0, it means 'calling start status'. when the exection is end, that value will change to '1', mens 'calling is end', and the cache will store the execution result as well.
After the frontend lost the connection, then you can try call it again, and the controller will check the cache's progress, if checked value is '0', will return the message 'backend is still running, please wait'; else '1', return the execution result directly.
Now, I can seee the next step backend exectuion result whatever the execution time is beyond timeout setting or not.
If any farther suggestion, please let me konw. Thanks.
Thanks for devopsGPT team great working!
When I ran the code using Docker, I noticed that the frontend was displaying an error while the backend was still generating code. I got stuck at this step(please see it on screenshot). Actually, at the same time, the backend was continuing to generate code, that means the frontend error display is not correct(Because the backend logs show that, the backend should generate all the code files finally ). I have uploaded a screenshot of my page and the runtime log information. Any solution to fix this issue?
BTW,according to the backend logs, those files should store in workspace folder already, but I can't find those files in '$PWD/workspace' folder,any idea about those files store path?
I am looking forward to your suggestion to help, thank you~
devopsGPT_docker_run_out.txt
The text was updated successfully, but these errors were encountered: