-
Notifications
You must be signed in to change notification settings - Fork 184
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 500 response when uploading file in a specific space #6151
Comments
@dragonchaser Can you take a look? |
I could not reproduce that, I have uploaded parts of the linux source tree. But what I witnessed was that I am being logged out during the upload. Could that be related? @individual-it can we have a look at this tomorrow morning? I should be around from 8 CET |
Could not reproduce, I would assume that this is related to some token invalidation issue. But I would need more information. Is there some other configuration set in the env? |
We (@individual-it and me) investigated, we tracked it down to two issues
relevant to fixing this is #1, but ticket is blocked until breakage is reproducable. |
there is a brocken folder, that I cannot delete. When I try I get
|
I can delete all files/folders from that space, except of that specific brocken folder. logs
|
The nil pointer was fixed in cs3org/reva#3841 |
@individual-it can you please update your ocis and see if the error persists? |
@dragonchaser here how to reproduce the main issue:
desktop client log file: |
The issue with reproducing it, is that it does not happen always, but if it does the client is not able to delete some items (maybe depending on the load of the server). Trying to delete one of the broken items results in an error mentioned in #6151 (comment) The value that the code tries to parse is bigger than 2^64, e.g. <?xml version="1.0" encoding="UTF-8"?>
<d:error
xmlns:d="DAV"
xmlns:s="http://sabredav.org/ns">
<s:exception></s:exception>
<s:message>internal error: delete:strconv.ParseInt: parsing "18446744073709546744": value out of range</s:message>
</d:error> This value can be found in a messagepack file in the key here the decoded messagepack file {
"user.ocis.name": "c2ltdWxhdG9y",
"user.ocis.parentid": "NzA1MTNhNDUtZmJlMy00MWMzLWFkNzYtOTA0MTdhZmE0NjY4",
"user.ocis.propagation": "MQ==",
"user.ocis.tmp.etag": "",
"user.ocis.tmtime": "MjAyMy0wNS0wNVQwOToyMDo1Mi40OTA3NVo=",
"user.ocis.trash.origin": "L2Nvbm5lY3RpcS1zZGstbGluLTQuMS43LTIwMjItMTEtMjEtNTYyYjhhMTk1L3NoYXJlL3NpbXVsYXRvcg==",
"user.ocis.treesize": "MTg0NDY3NDQwNzM3MDk1NDc4NzA=",
"user.ocis.type": "Mg=="
} |
fixed by cs3org/reva#3845 |
Describe the bug
When I upload a file in this specific space I get an error 500, but the file is still uploaded
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
file is uploaded without an issue
Actual behavior
File is uploaded, but error is shown that it could not be uploaded
https://user-images.githubusercontent.com/2425577/234560474-3e00d6c1-9052-4613-90e6-6f7d199e8143.mp4
(the video does not show how I select the file
wwktm.jpg
for upload)Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
OCIS_LOG_PRETTY=true OCIS_DECOMPOSEDFS_METADATA_BACKEND=messagepack OCIS_URL=https://192.168.56.1:9200 ./ocis-3.0.0-rc.1-linux-amd64 server
Additional context
ocis log output:
The text was updated successfully, but these errors were encountered: