-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
嗯… 无法访问此页面 ip已拒绝连接。 #139
Comments
Same problem as you.any news update about it ? |
@kdt2014 建議在149.248.21.180執行以下操作:
git clone https://github.com/babaohuang/GeminiProChat/ --recursive --remote-submodules
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What operating system are you using?
windows
What browser are you using?
edge
Describe the bug
嗯… 无法访问此页面
ip已拒绝连接。
What prompt did you enter?
网页刚部署好能够使用,过一段时间(一小时左右)就出现以上报错
Console Logs
root@vultr:~# docker logs 17f9a1f75294
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Cleaning up!
sh: can't kill pid 34: No such process
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests alternate between user and model.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests alternate between user and model.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Cleaning up!
sh: can't kill pid 35: No such process
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [500 Internal Server Error] An internal error has occurred. Please retry or report in https: //developers.generativeai.google/guide/troubleshooting
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [500 Internal Server Error] An internal error has occurred. Please retry or report in https: //developers.generativeai.google/guide/troubleshooting
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
No response
Participation
The text was updated successfully, but these errors were encountered: