Hello,
Describe the bug
The error appears as soon as I switch to https through cloudflare.
Expected behavior
As soon as I access by domain name the error ":( Failed to lis files
Request failed with status code 404" appears.
What's more, when I want to upload a new file, it tells me: No policy selected.
Using domain name, I can only download files.
Using a locally adress (LAN) everything works perfectly.
Tested on Firefox, Opera (Windows)
Tested on Firefox (Android)
I'm connected in HTTPS through cloudflare and a reverse proxy on my web server.
Cloudreve is installed on a docker (Armv7).
Screenshots
4条答案
按热度按时间bq8i3lrv1#
Hi there,
Could you also give some screenshots of the broswer devtools, so that we can know more exactly about what happened when the error occurs.
Thanks.
gwo2fgha2#
Hello,
Thanks you for your reply,
Here are the devtools screenshots:
On the cloud's "My files" page:
In 6.df035d4b.chunk.js file:
When I tried again, the error changed and so did the problem files:
It looks like the server is refusing access to the data.
I've already tried it via another domain name that goes directly without cloudflare and in http, same problem.
As soon as it comes from the WAN, the 403 error appears.
polkgigr3#
Hi,
It seem you are using cloudflare and this may due to the cloudflare refuse those request, maybe you can try to access site directly without the CDN to check.
Thanks.
dba5bblo4#
As a result, there are two problems:
403 and 404 errors appear (even in full http).
I've tested another domain name, which doesn't work in http when it goes through the reverse proxy, and now that I've taken it out of the reverse proxy, it does work (however, I can't use this domain name except for testing purposes).