I don't think ST-901 uses HTTP protocol. But you should be able to use a domain name instead of IP.
Thank you for your response, Anton.
I realize now that I was mistaken in framing this as an HTTP/HTTPS issue. Upon further investigation, I see that even though I configure the device with a URL, it resolves the domain to an IP address and appears to send data directly to the IP (likely via a TCP request).
The problem arises because Cloudflare does not allow direct connections to IPs—it masks them as part of its proxy service. This results in the connection being blocked.
Is there any alternative or workaround to ensure the device communicates correctly, such as a specific way to configure the domain or adjust the device's behavior?
Thanks again for your help.
Why do you need proxy? Why can't you just configure DNS?
Thank you, Anton.
The reason for using the proxy (Cloudflare) is to secure and manage access to my server. Cloudflare provides features like DDoS protection, SSL termination, and IP masking, which are important for my setup.
However, if there’s a way to configure the device to work with a DNS-only (non-proxied) subdomain, I’m happy to try that. My concern is ensuring the connection remains reliable and as secure as possible without exposing my server unnecessarily.
Do you recommend simply setting the subdomain to "DNS only" in Cloudflare and allowing direct communication with the server's IP? Are there any potential issues I should be aware of with this approach?
Thanks again for your guidance.
You probably still want to have an HTTPS proxy for your web app, but that can be set up locally.
Thank you for the suggestion, Anton.
You're correct—I would still like to maintain an HTTPS proxy for my web app, as it's essential for securing the front-facing components of my server. Setting up a local proxy sounds like a promising idea.
Could you elaborate on how I might configure a local HTTPS proxy to work with the tracker while maintaining Cloudflare for other traffic? I assume the tracker would connect directly via TCP to the local server, and then the local proxy could handle HTTPS for my web app and other services.
Check our documentation section.
Hi, I am using an ST-901 device with Traccar, and I would like to know if it's possible to configure an HTTPS URL for sending data. I have my own local server which is redirected via a Cloudflare tunnel to a subdomain (e.g.,
https://my-server.my-domain.com
). When I enter this HTTPS URL into the tracker, the device converts the URL to an IP address directly without the HTTPS protocol, causing Cloudflare to block the connection because it is not routed through their proxy.Is it possible to correctly configure an HTTPS URL in the ST-901 configuration to prevent the device from using the IP directly and ensure that HTTPS is always used?
I have tried setting up the URL with HTTPS, but it seems the device does not respect it and makes the connection directly to the IP. Any guidance on how to force the use of HTTPS or if there is a special configuration I need to do for it to work would be greatly appreciated.
Thanks for your help.