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

Failed to send message. HTTP 500 - #46

Closed
spencerwongfeilong opened this issue Mar 20, 2023 · 9 comments
Closed

Failed to send message. HTTP 500 - #46

spencerwongfeilong opened this issue Mar 20, 2023 · 9 comments
Labels
question Further information is requested

Comments

@spencerwongfeilong
Copy link

I realised the issue.

cloudflare tunnel is blocking the connection. not sure why. sorry i re-open the issue.

@WongSaang
Copy link
Owner

Sorry, I haven't used Cloudflare Tunnel before. The message from GPT is sent through SSE (Server-sent events). You can check if Cloudflare Tunnel is blocking SSE or if there are any connection timeout restrictions.

@0evers
Copy link

0evers commented Mar 21, 2023

Sorry, I haven't used Cloudflare Tunnel before. The message from GPT is sent through SSE (Server-sent events). You can check if Cloudflare Tunnel is blocking SSE or if there are any connection timeout restrictions.

I receive the same error message without Cloudflare

@WongSaang
Copy link
Owner

Sorry, I haven't used Cloudflare Tunnel before. The message from GPT is sent through SSE (Server-sent events). You can check if Cloudflare Tunnel is blocking SSE or if there are any connection timeout restrictions.

I receive the same error message without Cloudflare

Can you provide some logging information within the container

@0evers
Copy link

0evers commented Mar 21, 2023

Sorry, I haven't used Cloudflare Tunnel before. The message from GPT is sent through SSE (Server-sent events). You can check if Cloudflare Tunnel is blocking SSE or if there are any connection timeout restrictions.

I receive the same error message without Cloudflare

Can you provide some logging information within the container

It works again. The API had partial failures at the time I tested it.

@WongSaang
Copy link
Owner

Sometimes it is caused by instability of OpenAI's servers

@spencerwongfeilong
Copy link
Author

I realise if i were to perform the search in incognito mode, the error goes away. Is there a cache somewhere inside the docker instance preventing the query from being sent to openai server?

@WongSaang
Copy link
Owner

Do you mean the browser's incognito mode? That shouldn't be a problem inside the container. If you encounter this problem again, please provide the browser's network request error message

@WongSaang WongSaang added the question Further information is requested label Mar 22, 2023
@spencerwongfeilong
Copy link
Author

spencerwongfeilong commented Mar 22, 2023

image

Not sure if i did it right. U can see that the response time from cloudflare is more than 20seconds

@spencerwongfeilong
Copy link
Author

image

the above picture is from LAN. As you can see i have 11.29 seconds when loading the page. It was a white screen before the CHATGPT client appeared.

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