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

bulid in docker but not working<this problem has been sloved> #38

Open
ksi1110 opened this issue Sep 11, 2023 · 6 comments
Open

bulid in docker but not working<this problem has been sloved> #38

ksi1110 opened this issue Sep 11, 2023 · 6 comments
Labels
question Further information is requested

Comments

@ksi1110
Copy link

ksi1110 commented Sep 11, 2023

when container is runing, can not open in browser, and docker log dispaly error message:

[2023-09-11 01:50:44.405][thread 7][main][main.cpp:297][info] server start accept at 0.0.0.0:8858 ...
[2023-09-11 02:02:27.457][thread 17][startSession][main.cpp:217][error] bad_request: [/]
[2023-09-11 02:02:29.184][thread 18][startSession][main.cpp:217][error] bad_request: [/]
[2023-09-11 02:02:29.653][thread 19][startSession][main.cpp:217][error] bad_request: [/]
[2023-09-11 02:02:29.871][thread 20][startSession][main.cpp:217][error] bad_request: [/]
[2023-09-11 02:02:30.063][thread 21][startSession][main.cpp:217][error] bad_request: [/]
^C[2023-09-11 02:02:31.476][thread 7][main][main.cpp:312][info] stoped ...

@fantasy-peak
Copy link
Owner

#24

@fantasy-peak
Copy link
Owner

please access http://127.0.0.1:8858/chat

@nqf
Copy link

nqf commented Sep 11, 2023

You must bring /chat, It will not automatically jump from http://127.0.0.1:8858/ to http://127.0.0.1:8858/chat, This is a deliberate design, If you deploy it to the public network, someone may scan your website(http://127.0.0.1:8858/), If it automatically redirects, it will expose your website

@ksi1110
Copy link
Author

ksi1110 commented Sep 11, 2023

please access http://127.0.0.1:8858/chat

thannnnnnnnks it can work, i m silly😂

@ksi1110
Copy link
Author

ksi1110 commented Sep 11, 2023

You must bring /chat, It will not automatically jump from http://127.0.0.1:8858/ to http://127.0.0.1:8858/chat, This is a deliberate design, If you deploy it to the public network, someone may scan your website(http://127.0.0.1:8858/), If it automatically redirects, it will expose your website

thanks problem has been sloved~ thank you again😀

@ksi1110 ksi1110 changed the title bulid in docker but not working bulid in docker but not working<this problem has been sloved> Sep 11, 2023
@nqf
Copy link

nqf commented Sep 11, 2023

You must bring /chat, It will not automatically jump from http://127.0.0.1:8858/ to http://127.0.0.1:8858/chat, This is a deliberate design, If you deploy it to the public network, someone may scan your website(http://127.0.0.1:8858/), If it automatically redirects, it will expose your website

thanks problem has been sloved~ thank you again😀

This project can be freely switched between multiple provider, and you can also configure the openAPI key. It also supports accessing chatgpt. You can view readme, if you think this project is helpful to you, please star this project

@fantasy-peak fantasy-peak added the question Further information is requested label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants