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 run error #12

Open
Voldeemort opened this issue Mar 19, 2023 · 8 comments
Open

Docker run error #12

Voldeemort opened this issue Mar 19, 2023 · 8 comments
Labels
duplicate This issue or pull request already exists

Comments

@Voldeemort
Copy link

[+] Running 0/1
⠿ app Error 2.0s
Error response from daemon: denied

@Voldeemort
Copy link
Author

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

@unixzii unixzii added the duplicate This issue or pull request already exists label Mar 20, 2023
@unixzii
Copy link
Member

unixzii commented Mar 20, 2023

We are tracking this issue on #11.

@unixzii
Copy link
Member

unixzii commented Mar 20, 2023

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

@Voldeemort
Copy link
Author

Okay, I have successfully deployed it, but the telegram bot keeps sending me "Thinking..." message. I am sure that my openaiAPIKey is valid.

@Voldeemort
Copy link
Author

The telegpt bot you provided is also experiencing the same issue.

@Voldeemort
Copy link
Author

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

I used the Docker provided by you to pull and deploy a bot, but the data returned to me is “Thinking…”. Did I do something wrong? Here are my steps: First, I cloned your repository and "cp config.example.json config.json". Then, I ran ‘docker compose up -d’ successfully, but the bot keeps responding with “Thinking…”. I’m sure the API is correct, but I’m not sure if I missed anything. I checked the logs and found the following error: “telegpt-app-1 | 2023-03-20T16:58:10.722Z ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram’s error: Bad Request: message text is empty”.

@unixzii
Copy link
Member

unixzii commented Mar 21, 2023

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

I used the Docker provided by you to pull and deploy a bot, but the data returned to me is “Thinking…”. Did I do something wrong? Here are my steps: First, I cloned your repository and "cp config.example.json config.json". Then, I ran ‘docker compose up -d’ successfully, but the bot keeps responding with “Thinking…”. I’m sure the API is correct, but I’m not sure if I missed anything. I checked the logs and found the following error: “telegpt-app-1 | 2023-03-20T16:58:10.722Z ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram’s error: Bad Request: message text is empty”.

Maybe OpenAI server was down at that time, you can try again now.

@Voldeemort
Copy link
Author

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

I used the Docker provided by you to pull and deploy a bot, but the data returned to me is “Thinking…”. Did I do something wrong? Here are my steps: First, I cloned your repository and "cp config.example.json config.json". Then, I ran ‘docker compose up -d’ successfully, but the bot keeps responding with “Thinking…”. I’m sure the API is correct, but I’m not sure if I missed anything. I checked the logs and found the following error: “telegpt-app-1 | 2023-03-20T16:58:10.722Z ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram’s error: Bad Request: message text is empty”.

Maybe OpenAI server was down at that time, you can try again now.

I have tested it, but it still doesn't work. However, when I called the same API using another program, it worked normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants