Skip to content

Issue with upload url on s3 bucket #1399

Description

@Sapessii

Hi,

I am running docker cog built container on Paperspace but I am having issues to upload output predictions to aws s3 bucket.

I basically need to launch a prediction for more than 30 minutes and upload the file to s3 - explicit limit on Replicate, that's why I am using another platform for this task only.

This is the error that I always receive when I set the output_file_prefix in a synchronous request:
No connection adapters were found for {url!r}\")\nrequests.exceptions.InvalidSchema: No connection adapters were found for 's3://my-bucket/out-0.png

I already set all the env with my aws secrets but still without success.

PS: I also saw that for async request I have to pass --upload-url to the docker run function, but since I can't find a way to edit the startup script, can I build the docker with this command already included?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgoPull requests that update Go code

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions