-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP Error 503 in Chrome when accessing a nextcloud-file by a link #7344
Comments
@jasonbayton do you have the logs? |
@tflidd no, I can't replicate this on Mac via Chrome, Safari or Firefox and I'd have needed to grab the logs for that particular session (:00 to :59 of any hour). @reneglauser if you'd like to replicate your issue and ping me; preferably as close to the beginning of the hour as possible so I'll have time to stop whatever I'm doing and log in before the logs are wiped, I'll output what I see here. |
Hi Jason
Thanks for your message. I just tried to download the file in Chrome (Windows) linked in the thread and got again the 503 error approx at 10.32 am. (see attachement…)
Best regards,
René
|
@jasonbayton I just accessed the link again this morning at 08.05 and got again the 503 error... |
I can confirm what @reneglauser has posted. I've got the same issue here. |
Hi folks, If one of you again test at the top of the hour and ping me here or @jasonbayton on twitter before the hour is up I'll grab the logs. I missed it.. |
@jasonbayton Hi Jason, I just pressed the link and got the error again.....can you have a look at the logs? |
Unfortunately there are no error logs registered against any action you may have taken, neither on the proxy nor the demo server. |
@jasonbayton ok, I clicked again and got again the 503 error..... |
The closest I can see is this:
I'll look into it but not sure it'll change anything. |
@jasonbayton Any news here? |
Closing as there was no further feedback. |
I can reproduce this issue. It seems to be happening if a HOWEVER, I cannot reproduce this with curl, i.e. this works fine:
Could be some weird interpretation of client-side security policies? Tested with Chrome 67.0.3396.99 and Firefox 61.0 on Ubuntu. Nextcloud 13.0.4 (2018-06-11T08:24:28+00:00 5c97dc3). |
Oh, in fact it is reproducible with curl as well. Chrome allows me to copy the request that resulted in
|
Tracked it down: The 503 comes from here Lines 554 to 563 in 09d5b61
(if i add arbitrary output right before How can I proceed if I want to access files this way? (In my particular case Moodle knows exactly where the file is located and wants to point the user there. More precisely, Moodle needs to point the browser to that particular file.) |
I now upgraded to 13.0.5 but the problem still remains... |
I installed 13.07 and something improved. In our case we are putting copy/pasted links in Asana. Previous behavior: Current Behavior after 13.07 upgrade: Very odd that a link in a description area of Asana cannot direct correctly but if the same link is in the comments is able to direct with no issues. |
From what I see: initial request that gets 503-ed sets cookies:
After this cookie is set, request passes fine. After I manually delete the cookie from store, request returns 503 again Seems like some half-assed attempt at security misfiring to be honest. |
Can't reproduce on latest versions. Anyone else can? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Is this really fixed? I recognized similar with NX 22.2. |
This bug seems still present, if it's not allowed then 503 is the wrong response code something in the 4xx range would be more suitable. |
Steps to reproduce
Expected behaviour
The linked file should be downloaded/opened directly what works normal in Firefox, Edge, ....
Actual behaviour
The file does not download directly. Instead, the following error-message is displayed in the new browser-window:
This page isn’t working
demo12.nextcloud.bayton.org is currently unable to handle this request.
HTTP ERROR 503
By pressing the reload-button on this error-page, the file is downloaded correctly.....
The text was updated successfully, but these errors were encountered: