Internal Error 500 on Svelt CloudFlare page problem

What is the name of the domain?

jetapaysages.com

What is the error number?

500

What is the error message?

Internal Error

What is the issue you’re encountering

Internal Error 500 on website

What steps have you taken to resolve the issue?

I ran the website locally perfectly

What are the steps to reproduce the issue?

It’s a problem I can’t know because I don’t have the logs on cloudflare side

The 500 error page is being generated by your origin so check the logs there to see which requests are causing that to be returned and debug from there.

I can’t access any logs. Everything is perfect on local. The problem comes from Cloudflare

You will only debug what is happening by checking your origin to see why it is returning 500 for requests going via Cloudflare and what it doesn’t like about them.

Do you know how I can do that ? I would be grateful for a little help ^^ Apart from running it on my computer on don’t know how to do anything apart from that

Are you using your own server or a host? If a host, which one? It may be they don’t like the Cloudflare proxy (although 500 is not the usual error in that case).

You can try setting the DNS record to “DNS only” which will tell you if the server is working ok on the application when deployed but with requests not passing through Cloudflare.

I don’t know I just deployed it on cloudflare page I don’t use anything it’s connected to my git repository.

To support what I previously said I just successfully deployed it on Vercel :thinking:

Did you do this?

Also look here…

Thanks for your help man I switched to vercel it was simpler for me than to search for a bug in configurations and watnot

I had error 500 on page as well. There’s now a “Real-time logs” function in Deployment details → Functions and scroll down.

For me the error was caused by [🐛 Bug]: ERROR Could not resolve "async_hooks" · Issue #908 · cloudflare/next-on-pages · GitHub , and it was fixed by updating the compatibility_date, hope that helps.

This topic was automatically closed after 15 days. New replies are no longer allowed.