URL Shortener Service

よって BigLobster | 更新済み 2달 전 | Location

9.8 / 10





Health Check



Shortened links do not work on mobile browsers

Rapid account: Rmonroe 128
10달 전


Ive recently implemented this in my app and its returning the shortened links as expected. However, this only works on desktop.

When I try to access the shortened links on my mobile devices I am getting rejected before seeing the cloudfare page due to an SSL protocol error. Just to note, Ive been testing on mobile with the latest Safari and Chrome browser versions. Ive also run a curl command from my pc to do some extra analysis and can confirm the issue. See below.

curl -I -A “Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1” [MyLinkHere]

Error Response: error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version

Can you please look into the CloudFlare configuration and update SSL settings so that your shortened urls dont reject mobile user agents?

Rapid account: Big Lobster
BigLobster Commented 9달 전

Strange, you need a bit more information, because I have the above example working correctly:

➜  ~ curl -I -A "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1" https://goolnk.com/e91rej
HTTP/2 301
date: Wed, 06 Sep 2023 22:25:33 GMT
content-type: text/html; charset=UTF-8
location: https://www.google.com/maps
set-cookie: _cfvdata=<hash>; Expires=Thu, 07 Sep 2023 22:25:33 GMT
set-cookie: last_short=e91rej; Expires=Thu, 07 Sep 2023 22:25:33 GMT
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
referrer-policy: same-origin
content-security-policy: default-src 'self' http: https: data: blob: 'unsafe-inline'
strict-transport-security: max-age=31536000; includeSubDomains; preload
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=L1DR1heSMrypj3OqVI2yZeO6xGVEWa%2BxSm1Vn0Ug4G2mIcdw2d4qiG6uk%2FrogBrynOVgqEsLi7WIZCb6cJXLcFQO2%2Ft59uZhgR4BwUePsRBYhv3z525mrn82nBvG1a"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: <ray id>
alt-svc: h3=":443"; ma=86400