-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Thumbnails not fetched in clients, depending on the auth method #29914
Comments
GitMate.io thinks the contributor most likely able to help you is @PVince81. |
FYI @DeepDiver1975 is currently working on preview generation too. (other endpoint) |
I consider this endpoint not valid in terms of public usage. This was never tested to work properly with oauth. |
Is this the new solution? #29319 |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Happening on 10.0.8alpha when using iOS app 3.7.3 and regular authentication. Android app doesn't have problems.
|
on master this also fails for basic auth .... 💥 |
regression ? |
does it fix both cases? (basic and OAuth2) |
Should fix both. Yes. |
we merged it, closing |
Just tested using iOS app 3.7.3 and 10.0.8RC2. When uploading a photo just taken the problem persist:
Also happening using android app 2.6.0:
|
This is a totally different error message. Please collect more information about the scenario. Full request please. Thx |
I noticed these this afternoon while testing on iOS with (and without) an app password.
If I download the file to the Android device, then I can refresh the folder etc. and not get any server error. But in that case there is no request for the thumbnail. I think after downloading the actual file, the Android app has generated a thumbnail locally from the file and so it does not bother asking the server for one any more. I will look on iOS again also |
@phil-davis i checked iOS and the problem is reproducible under 10.0.8RC2 |
On iOS I get
and even after downloading the actual file, this error still happens each time the folder is entered. I am guessing that iOS does not auto-generate itself a thumbnail when a file is downloaded. So it will keep trying to get a thumbnail from the server. |
Note: Android asks for a 128x128 preview, iOS asks for 64x64. They both have the similar 500 error. |
Using iOS 3.7.3 with core 10.0.8RC2:
REQUEST:
RESPONSE:
|
Using android 2.7.0 with core 10.0.8RC2:
REQUEST:
RESPONSE:
|
What has to be done to trigger this api call in android? @SergioBertolinSG THX |
@DeepDiver1975 Using the android app, just open the files view having some images (jpeg) inside root folder. |
Reproduced! THX a lot! |
Note: the problem happens on both Android and iOS using either "normal password" or an "app password". I can re-test the app password cases easily (I was testing in this area yesterday) |
the backport to stable10 introduced a bug due to different apis related to preview generation ... PR is coming .... |
fix #31183 was merged |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In a Basic auth account, thumbnails are fetched by clients with the following request:
responsed correctly with (response-body):
Same request under Bearer auth (OAuth2) returns
500 Internal Server Error
with an 8k html in response-body (i can attach if needed)Of course, token is not expired when request is performed.
Server {"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"10.0.4.4","versionstring":"10.0.4","edition":"Enterprise","productname":"ownCloud"}
Curl command to get:
The text was updated successfully, but these errors were encountered: