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

frontend error: Failed to fetch #106

Closed
Xinyi118 opened this issue Nov 30, 2023 · 7 comments
Closed

frontend error: Failed to fetch #106

Xinyi118 opened this issue Nov 30, 2023 · 7 comments
Assignees
Labels
deploy Deployment questions or suggestions Stale

Comments

@Xinyi118
Copy link

backend and frontend installed in one system; system is Ubuntu 20.04.

Backend start:
(base) root@iv-yctemf1w5c8lu7izhe3p:~/OpenAgents# flask run -p 8000
Dependencies for InstructorEmbedding not found. The auto selection feature of plugins agent will return random elements.
75%|██████████████████████████████████████████████████████████▌ | 12/16 [00:03<00:00, 5.95it/s]/root/OpenAgents/real_agents/plugins_agent/plugins/DreamInterpreter/openapi.yaml and DreamInterpreter/paths/init.py do not match. Load the later.
/root/OpenAgents/real_agents/plugins_agent/plugins/XWeather/openapi.yaml and XWeather/paths/init.py do not match. Load the later.
100%|██████████████████████████████████████████████████████████████████████████████| 16/16 [00:03<00:00, 4.07it/s]

  • Serving Flask app 'backend.main.py'
  • Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on http://127.0.0.1:8000
    Press CTRL+C to quit

frontend start:
(base) root@iv-yctemf1w5c8lu7izhe3p:~/OpenAgents/frontend# npm run dev

ai-chatbot-starter@0.1.0 dev
next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
event - compiled client and server successfully in 3s (273 modules)
wait - compiling...
event - compiled successfully in 235 ms (235 modules)
wait - compiling / (client and server)...

event - compiled client and server successfully in 27.1s (20963 modules)

when open the browers, it show "Failed to fetch","Error getting conversation list!" , "Error getting LLM list!
" ,and can't upload any files (Network error occurred![object Object]
)

how can i fix

@Timothyxxx
Copy link
Contributor

Could you make a screenshot of your error? Thanks!

@Timothyxxx Timothyxxx added the deploy Deployment questions or suggestions label Nov 30, 2023
@Xinyi118
Copy link
Author

Xinyi118 commented Nov 30, 2023

Copy link

github-actions bot commented Dec 4, 2023

This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 4 days.

@github-actions github-actions bot added the Stale label Dec 4, 2023
@chymian
Copy link

chymian commented Dec 4, 2023

hi,
I have the same pblms.
both frontend & backend are unning on a remote server (4 x 3070 8G)
I adapted the:

  • NEXT_PUBLIC_BACKEND_ENDPOINT to the local IP and port (had to move from 8000. it's way too popular)
  • OPENAI_API_BASE to my local API-proxy (openAI compatible and working)
  • added 2 models to backend/api/language_model.py
  • gave 1 GPU to the backend

and get the same error pic as @Xinyi118

any ideas @Timothyxxx ?

@github-actions github-actions bot removed the Stale label Dec 5, 2023
Copy link

github-actions bot commented Dec 9, 2023

This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 4 days.

@github-actions github-actions bot added the Stale label Dec 9, 2023
Copy link

This issue was closed because it has been stalled for 4 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
@Xinyi118
Copy link
Author

any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Deployment questions or suggestions Stale
Projects
None yet
Development

No branches or pull requests

4 participants