EmbedAI icon indicating copy to clipboard operation
EmbedAI copied to clipboard

Server error 404

Open dKonsalik opened this issue 1 year ago • 2 comments

Hello, I am also getting 404 not found when when going to http://192.168.20.50:5000/

Serving Flask app 'privateGPT' 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 all addresses (0.0.0.0) Running on http://127.0.0.1:5000/ Running on http://192.168.20.50:5000/ Press CTRL+C to quit 192.168.70.36 - - [29/May/2023 15:48:07] "GET / HTTP/1.1" 404 - http://192.168.20.50:3000/ works but can't upload a document gives error

dKonsalik avatar May 29 '23 13:05 dKonsalik

The flask app running on port 5000 is just the backend. You need to run the npm commands in the server directory to start the front end which runs on port 3000.

joemccann avatar May 29 '23 16:05 joemccann

So I have the back end and front end running, but I cannot upload any document, download Model or any other functions Error uploading document Error fetching Answer, Please try again image

dKonsalik avatar May 29 '23 16:05 dKonsalik

Can you share the document you are trying to upload ?

Anil-matcha avatar May 29 '23 19:05 Anil-matcha

I can share with you the document, but none of them work, neither the chat, neither download the model Is there anyway I can check the logs? because I don't know why, nothings works on the application as a said. PING_Data.xlsx

dKonsalik avatar May 29 '23 19:05 dKonsalik

Had same issue but I was trying to run PrivateGPT on another PC on the network and access through browser on a different PC. There's a lot of reference to "localhost" in the client folder code, so it you are trying to run on another PC/server, container or vm this isn''t going to work. I had to update the localhost references in code to privateGPT host machine IP to get this to work. This may be something that can be addressed in future not hard coding "localhost".

bradsec avatar May 30 '23 00:05 bradsec

Had same issue but I was trying to run PrivateGPT on another PC on the network and access through browser on a different PC. There's a lot of reference to "localhost" in the client folder code, so it you are trying to run on another PC/server, container or vm this isn''t going to work. I had to update the localhost references in code to privateGPT host machine IP to get this to work. This may be something that can be addressed in future not hard coding "localhost".

Will you be able to share or let me know which refence files you have changed?

dKonsalik avatar May 30 '23 06:05 dKonsalik

Had same issue but I was trying to run PrivateGPT on another PC on the network and access through browser on a different PC. There's a lot of reference to "localhost" in the client folder code, so it you are trying to run on another PC/server, container or vm this isn''t going to work. I had to update the localhost references in code to privateGPT host machine IP to get this to work. This may be something that can be addressed in future not hard coding "localhost".

Will you be able to share or let me know which refence files you have changed?

I was able to find the files changed it to the IP and its working now thank you @bradsec all of you that tried to help

dKonsalik avatar May 30 '23 06:05 dKonsalik