Https header error “500 Internal Server Error”

What is the name of the domain?

warp.cloudflare.now.cc

What is the error number?

HTTP/2 500

What is the issue you’re encountering

I can’t visit my site. Error 1101 is displayed when accessed with a browser.

What steps have you taken to resolve the issue?

I created a project on cloudflare worker and setup 2 custom domains: warp.cloudflare.now.cc and warp.forvps.eu.org, but the first one doesn’t work correctly, it prompts header HTTP/2 500 with curl -I, but the latter works fine. What can I do to get warp.cloudflare.now.cc working again?

What are the steps to reproduce the issue?

~# curl -I -s “https://warp.cloudflare.now.cc/?run=key
HTTP/2 500

~# curl -I -s “https://warp.forvps.eu.org/?run=key
HTTP/2 200

Screenshot of the error




Hi there,

The fact the error is only reproduceable when using that query string hints at something wrong with the worker:


Furthermore, the 1101 is definitely a worker exception.

When a worker throws an exception, the status code is 500, and the error presented to the client is a 1101, which is definitely consistent what we’re seeing here:

I suggest using catch to find out where the issue is:

try {
  nonExistentFunction();
} catch (error) {
  console.error(error);
  // Expected output: ReferenceError: nonExistentFunction is not defined
  // (Note: the exact output may be browser-dependent)
}

Take care.

Before there was a using catch detection issue, it was puzzling.
First of all, I tested it locally through wrangler and it is working fine.
Secondly, I am binding three domains to the same worker project and two of them are working fine, but only one is not, so I have a feeling it has nothing to do with the code.


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