You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing to report an issue I encountered while attempting to access the server using rclone. The problem arises from a discrepancy in the date format used by the server's response and the one expected by the client.
The server's response uses the date format 2023-09-29T17:44:42.444222818+02:00, while the client expects the date format 2006-01-02T15:04:05.999999999Z.
I have tested this with multiple clients, including ExpanDrive and S3 Explorer, and have consistently encountered the same issue.
Maybe it makes sense to update the README. I was reading a lot of stuff before I figured it out.
Anyway - thanks for this project. It is exactly what I am looking for.
The easiest thing might be for the old maintainers to put the repository in Archive mode. Github usually puts enough stuff on the UI to let you know the repository isn't active then.
Error Description
I am writing to report an issue I encountered while attempting to access the server using rclone. The problem arises from a discrepancy in the date format used by the server's response and the one expected by the client.
The server's response uses the date format 2023-09-29T17:44:42.444222818+02:00, while the client expects the date format 2006-01-02T15:04:05.999999999Z.
I have tested this with multiple clients, including ExpanDrive and S3 Explorer, and have consistently encountered the same issue.
logs
Output of rclone:
hotfix
I managed to resolve the aforementioned date format issue by defining a function that corrects the date format. Here is the function in Rust:
This function was then invoked during the creation of the XML response. For instance, in the list_buckets.rs file, I replaced the following line: (https://github.com/datenlord/s3-server/blob/master/src/ops/list_buckets.rs#L47)
with:
I needed so implement the hotfix for some other endpoints as well.
I would appreciate it if you could look into this matter and provide a solution. Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered: