Intermitten 404 on tunneled server

What is the name of the domain?

metareflective.app

What is the error number?

404

What is the error message?

This medikanren.metareflective.app page can’t be found No webpage was found for the web address: https://medikanren.metareflective.app/ HTTP ERROR 404

What is the issue you’re encountering

I am tunnel a Racket server from a Mac machine to a subdomain, and intermittently I get 404s but many times, it does work.

What steps have you taken to resolve the issue?

I have made sure to follow the best practices in terms of tunneling.

My server code is here: GitHub - CHARM-BDF/mediKanren-MCP

My config file is:

tunnel: medikanren
credentials-file: XXX.json
ingress:

I use Full (Strict) HTTPS on Cloudflare.

What are the steps to reproduce the issue?

Visiting https://medikanren.metareflective.app sometimes return a 404.

Hello, the 404 Not Found status code indicates that the origin server was unable to locate the requested resource. Typically, this means the host server could not find the resource. For a more permanent version of this error, the 410 Gone status code should be used.

For more details, refer to RFC 7231 :up_right_arrow:.

Common use cases

These errors typically occur when someone mistypes a URL on your site, when there is a broken link from another page, when a page that previously existed is moved or removed, or there is an error when a search engine indexes your site.

These errors typically account for approximately 3% of total page views for a typical site. However, they often go untracked by traditional analytics platforms, such as Google Analytics. To improve user experience, website owners usually implement a custom 404 page to be displayed when this error is generated.

As I said, these errors are intermittent: the URL works some times, and some times, it does not. So I don’t see how your explanation help. Do you agree?

I think I found an alternative that is more reliable.

Instead of using purely the command line cloudflared to set the tunnel, I set it in the Zero Trust dashboard, not as a a locally configured tunnel. This seems much more reliable so far, but maybe it’s anecdotical. I tried to migrate this tunnel to the dashboard as well.

Thanks.

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