io.UnsupportedOperation: seek #59
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#59
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I really like this service a lot.
During a deployment I received the following error message when uploading remote files via the "url" field:
I can kind of reproduce the issue, since the file stream there is not "seekable":
The issue is mainly appearing when trying to save remote urls with the "url" parameter like so:
The issue does not appear on the reference instance https://0x0.st, so it's probably just me :) Would appreciate any hint or feedback on how to make it work with the saving of remote urls.
Many thanks.
Sorry about the late response. Could you tell me more about your server configuration? Like the app server running your instance, and what’s facing the client (e.g. nginx). Include config file snippets.
Thanks for getting back to me.
I was using Nomad with Nginx at that time. All the code and configuration is stored here:
It worked really well for me. Was running the deployment on Raspberry Pie. That might be relevant.
Thanks and have a good day
Hm. There are definitely some issues with 0x0’s code in the affected function. No idea why seeking that stream is even working for me! Something must be implicitly buffering the response, but only in some environments (gunicorn apparently is not one of those).
Anyway, this should be an easy thing to fix.