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

docker error #24

Closed
dongzheng9 opened this issue Aug 30, 2023 · 5 comments
Closed

docker error #24

dongzheng9 opened this issue Aug 30, 2023 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@dongzheng9
Copy link

[2023-08-30 08:59:38.104][thread 7][main][main.cpp:289][info] server start accept at 0.0.0.0:8858 ...

[2023-08-30 08:59:44.568][thread 9][startSession][main.cpp:213][error] bad_request: [/]

@nqf
Copy link

nqf commented Aug 30, 2023

[2023-08-30 08:59:38.104][thread 7][main][main.cpp:289][info] server start accept at 0.0.0.0:8858 ...

[2023-08-30 08:59:44.568][thread 9][startSession][main.cpp:213][error] bad_request: [/]

http://127.0.0.1:8858/chat The path must include/chat, It will check the path, and if it is not /chat, it will return http 400, When docker runs, environment variables can be set to modify the path, Please see readme

@fantasy-peak
Copy link
Owner

please access http://127.0.0.1:8858/chat

@dongzheng9
Copy link
Author

success ! loooove you !

@oemsys
Copy link

oemsys commented Sep 5, 2023

[2023-09-05 21:00:23.656][thread 17][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
[2023-09-05 21:00:25.584][thread 18][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
[2023-09-05 21:00:26.245][thread 19][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
[2023-09-05 21:00:26.472][thread 20][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
[2023-09-05 21:00:26.688][thread 21][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
[2023-09-05 21:00:26.897][thread 22][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
[2023-09-05 21:00:27.671][thread 21][startSession][main.cpp:97][info] read timeout
[2023-09-05 21:00:54.658][thread 23][startSession][main.cpp:124][info] load: ../client/css/style.css
[2023-09-05 21:00:54.658][thread 16][startSession][main.cpp:124][info] load: ../client/js/icons.js
[2023-09-05 21:00:54.659][thread 17][startSession][main.cpp:124][info] load: ../client/js/highlight.min.js
[2023-09-05 21:00:54.659][thread 18][startSession][main.cpp:124][info] load: ../client/js/highlightjs-copy.min.js
[2023-09-05 21:00:55.156][thread 17][startSession][main.cpp:124][info] load: ../client/js/chat.js
[2023-09-05 21:01:15.862][thread 17][startSession][main.cpp:124][info] load: ../client/img/favicon-16x16.png
[2023-09-05 21:01:45.531][thread 23][startSession][main.cpp:97][info] read timeout
[2023-09-05 21:01:45.532][thread 22][startSession][main.cpp:97][info] read timeout

@fantasy-peak
Copy link
Owner

fantasy-peak commented Sep 5, 2023

[2023-09-05 21:00:23.656][thread 17][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal [2023-09-05 21:00:25.584][thread 18][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal [2023-09-05 21:00:26.245][thread 19][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal [2023-09-05 21:00:26.472][thread 20][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal [2023-09-05 21:00:26.688][thread 21][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal [2023-09-05 21:00:26.897][thread 22][startSession][main.cpp:152][error] nlohmann json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal [2023-09-05 21:00:27.671][thread 21][startSession][main.cpp:97][info] read timeout [2023-09-05 21:00:54.658][thread 23][startSession][main.cpp:124][info] load: ../client/css/style.css [2023-09-05 21:00:54.658][thread 16][startSession][main.cpp:124][info] load: ../client/js/icons.js [2023-09-05 21:00:54.659][thread 17][startSession][main.cpp:124][info] load: ../client/js/highlight.min.js [2023-09-05 21:00:54.659][thread 18][startSession][main.cpp:124][info] load: ../client/js/highlightjs-copy.min.js [2023-09-05 21:00:55.156][thread 17][startSession][main.cpp:124][info] load: ../client/js/chat.js [2023-09-05 21:01:15.862][thread 17][startSession][main.cpp:124][info] load: ../client/img/favicon-16x16.png [2023-09-05 21:01:45.531][thread 23][startSession][main.cpp:97][info] read timeout [2023-09-05 21:01:45.532][thread 22][startSession][main.cpp:97][info] read timeout

Do you use the latest version of Docker,If you ask questions from a web page, I don't think JSON will have formatting errors,Do you send your own HTTP request to the service?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants