TachibanaGeneralLaboratories / download-navi

Free and Open Source software download manager
GNU General Public License v3.0
837 stars 87 forks source link

[nationsglory.fr] HTTP 503 error #179

Closed Kita2345 closed 3 years ago

Kita2345 commented 3 years ago

Url: https://nationsglory.fr/download Screenshot_2021-08-21-15-36-15-36_3bf0dca51f420a078e6c41b69eb6f015

proninyaroslav commented 3 years ago

This is most likely due to Cloudflare. Have you tried downloading via Navi Browser?

Kita2345 commented 3 years ago

I've tried downloading via Navi Browser the result is the same

proninyaroslav commented 3 years ago
$ curl -I https://nationsglory.fr/download
HTTP/2 503 
date: Sat, 21 Aug 2021 14:36:26 GMT
content-type: text/html; charset=UTF-8
x-frame-options: SAMEORIGIN
permissions-policy: accelerometer=(),autoplay=(),camera=(),clipboard-read=(),clipboard-write=(),fullscreen=(),geolocation=(),gyroscope=(),hid=(),interest-cohort=(),magnetometer=(),microphone=(),payment=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),sync-xhr=(),usb=()
cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
expires: Thu, 01 Jan 1970 00:00:01 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=wz5OKNW%2BsTdkM9GurL%2BFeauZVnLstBIo17PIOckTlpsV2BNeAZw88OGDlGVSkNHZWLXbcI57iWUTzNXeT%2B%2FoZeNgEAHU1dFbsimY7IMooBSyjzhP6%2B98qft0jBxL7FnUww%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 682497fb0ac7005f-DME
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
proninyaroslav commented 3 years ago

It looks like the problem is that the response contains HTML and JavaScript. Navi can't download this directly, it's only possible through the browser.

proninyaroslav commented 3 years ago

Android WebView in Navi doesn't recognize links of this kind. The browser is in a permanent redirect. I doubt it can be solved, but I will try to find a solution.

proninyaroslav commented 3 years ago

The problem seems to be gone. Feel free to open it again if the problem occurs in the new version.