Redirect issues with Instagram 'built in' browser on litespeed?


We got a weird issue, where if user click on our URL, it shows that site is not secure and will show litespeed 404 error on load. If you click the same link with browser it will work fine. So we don’t think it’s SSL issue as it redirects fine, without any problems. But we need some ideas what could be wrong with setup? Maybe issues with headers sent?

$ curl -I
HTTP/1.1 404 Not Found
Date: Fri, 18 Feb 2022 00:44:09 GMT
Connection: keep-alive
CF-Cache-Status: DYNAMIC
Report-To: {"endpoints":[{"url":"https:\/\/\/report\/v3?s=5nw569U8e07g9lNz4gSiiF2ytroRmLeLrjPphT8UqMXuwaS8JgD5mbaNS%2B8%2FmPAGrSZ5oB6L%2BDsLUuYvzf9VxRsjZocWp1LXZFM%2BDlBjgycTLKTov2oF4J2bTk1z3DeX8UAmHA%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 6df339abbdfd7f7e-IAD
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400

Not sure if this helps, but we’re running out of options what could be wrong and want to eliminate CF.


Thank you for asking.

I am sorry to hear you are experiencing an error 404 Not found.
Unfortunately, this error is coming from your origin host/server.
You would have to troubleshoot this.

Does it work fine when you temporary “Pause Cloudflare” for your site? :thinking:

  1. Use the “Pause Cloudflare on Site” option from the Overview tab for your domain at .
  2. The link is in the lower right corner of that page.
  3. Give it five minutes to take effect

404 Not Found ( RFC7231 )

Origin server was unable or unwilling to find the resource requested. This usually means the host server could not find the resource. To serve a more permanent version of this error one should use a 410 error code.

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. For a typical site, these errors account for approximately 3% of the total page views, but they’re often untracked by traditional analytics platforms like Google Analytics.

Website owners usually implement a custom page to be served when this error is generated.

Cloudflare does not generate 404s for customer websites, we only proxy the request from the origin server. When seeing a 404 for your Cloudflare powered site you should contact your hosting provider for help.

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