Skip to content

Invalid Response Object from API: Error 500 #506

@luhgit

Description

@luhgit

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

image

image

image

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Macbook Ventura 13.5

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


The application is currently used by upto 10 users concurrently. When I deployed for the first time it worked fine. Then it starts throwing errors like "failed to fetch" or "unexpected white spaces". So I thought could be related to scalability and it might not have received any response from OpenAI API. So I upgraded my machine machine (app hosting) to Standard size. I am using OpenAI internal subscription in US East region.
App very often freezes and does not refresh at all. When one types in the chat it takes quite a bit (sometimes upto 5 mins) for the first time. And now it keeps on throwing these error messages.

Steps I tried:

  • I tried to redeploy: azd deploy
  • I tried to recreate: azd up
  • I even tried quart branch as was suggested in one of the related issues.

But no success. Can someone help me with this issue?

Logs from Log stream of Application service:
image

Seems like something is not right with OpenAI setup. When I used chat/davinci service in the OpenAI Studio I get the response just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions