ARTICLE AD BOX
I have a Telegram Mini App built with NextJS where I serve it on Railway with Cloudflare as proxy. I created a custom domain and registered the CNAME to Cloudflare and everything works fine on IOS, MacOS, and any web browser (including Android Chrome browser). But it gets stuck on Telegram's loading page on Android Telegram.
I did some debugging by connecting the Android to my computer and what I noticed is that not even the page is requested upon opening.
I doubted there could be something wrong with the TLS or proxy setup, and instead of using custom domain on Railway, I generated a railway domain for my application and set that as the URL of my Telegram bot and mini app, and it fixed the issue. For some reason Cloudflare proxy is causing some problems, but I couldn't pinpoint what and I couldn't resolve the issue.
I tested both Full and Full Strict TLS modes but neither worked. Any help regarding this is appreciated.
Explore related questions
See similar questions with these tags.
