[HELP] For those using Shlink with Cloudflare reddit / selfhosted ---------------------------------------------------------------------- CrashOverride93 · 2023-10-02 17:01 When I try to add my Shlink server into my local Shlink Web Client app, it shows the following error in the web console: Cross-origin request blocked: Same-origin policy does not allow reading remote resources at https://..xxx/rest/v3/health. (Reason: Unsuccessful CORS request). Status code: (null) **Shlink** It's running under Docker, on my server. It's publicly accessible via Cloudflare Tunnels. The docker-compose was created with the HTTPS enabled, also the domain and subdomains loads with HTTPS. When I try to visit the service using its public address, I can see the 404 error page, and I can interact with it via cmd. It's public domain is: [https://links.my-site.com](https://links.my- site.com/) (just an example) **Shlink Web Client** It's running under Docker, on my server. But, it's not publicly accessible, but being able to connect only from LAN via HTTPS using a local certificate created with DNS Challenge. It's configured with Nginx Proxy Manager. It's local domain: [https://shlink-wc.my-apps.lan](https://shlink- wc.my-apps.lan/) (just an example) So, both Shlink and Shlink Web Client services are under HTTPS. ​ Maybe, something must to be done in Cloudflare actually? ---------------------------------------------------------------------- hdddanbrown · 2023-10-02 17:06 > Maybe, something must to be done in Cloudflare actually? Yes, maybe? And Cloudflare Tunnels are not selfhosted. Why not ask Cloudflare for support? ---------------------------------------------------------------------- CrashOverride93 · 2023-10-02 17:07 Because, other services are working as expected. Only this one shows it. But than your for your answer. ---------------------------------------------------------------------- hdddanbrown · 2023-10-02 17:35 Still its related to Cloudflare. ---------------------------------------------------------------------- CrashOverride93 · 2023-10-02 17:46 Ok, I have posted it there. Sorry for the inconvenience. ---------------------------------------------------------------------- CrashOverride93 · 2023-10-02 17:50 And, what do you mean with "Cloudflare tunnels are not selfhosted"? I don't selfhost it hehe. Obviously, it's not something you can selfhost. Anyway, there's a docker image with which you can create a container to be able to use CF Tunnels in your account. ---------------------------------------------------------------------- [deleted] · 2023-10-02 21:34 [deleted] ---------------------------------------------------------------------- hdddanbrown · 2023-10-02 21:34 If you dont selfhost it, it doesnt belong here, quite simple. ---------------------------------------------------------------------- shadoodled · 2023-10-03 00:06 I don't know what the solution is but the [documentation](https://shli nk.io/documentation/troubleshooting/#response-to-preflight-request- doesnt-pass-access-control-check-no-access-control-allow-origin- header-is-present) says it could be your reverse proxy.