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

POST 500 (Internal Server Error) #161

Closed
5 tasks done
zhao0824 opened this issue Mar 7, 2023 · 4 comments
Closed
5 tasks done

POST 500 (Internal Server Error) #161

zhao0824 opened this issue Mar 7, 2023 · 4 comments
Labels
question Further information is requested

Comments

@zhao0824
Copy link

zhao0824 commented Mar 7, 2023

Describe the bug

本地
Generator.tsx? [sm]:53 POST http://localhost:3000/api/generate 500 (Internal Server Error)

Reproduction

POST http://localhost:3000/api/generate 500 (Internal Server Error)

System Info

Generator.tsx? [sm]:53          POST http://localhost:3000/api/generate 500 (Internal Server Error)
requestWithLatestMessage @ Generator.tsx? [sm]:53
await in requestWithLatestMessage (async)
handleButtonClick @ Generator.tsx? [sm]:30
eventHandler @ dev.js:369
Generator.tsx? [sm]:90 Error: Internal Server Error
    at requestWithLatestMessage (Generator.tsx? [sm]:66:15)

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@zhao0824
Copy link
Author

zhao0824 commented Mar 7, 2023

#157

@ddiu8081 ddiu8081 changed the title 本地接口500 POST 500 (Internal Server Error) Mar 7, 2023
@ddiu8081
Copy link
Member

ddiu8081 commented Mar 8, 2023

According to the feedback from the community, it seems to have encountered some api exceptions today, and I wonder if this is the reason. Try to request the OpenAI API directly through the HTTP tool?

@ddiu8081 ddiu8081 added the question Further information is requested label Mar 8, 2023
@yzh990918
Copy link
Member

Seems to need to open a proxy. #34

@ddiu8081
Copy link
Member

We've just added a more detailed error message output. You should now be able to see the cause of the error in the UI.

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