web3.storage icon indicating copy to clipboard operation
web3.storage copied to clipboard

[research] API Publish with Intermittent script timeout

Open vasco-santos opened this issue 4 years ago • 3 comments

Sometimes when publishing to CF workers, or starting a CF Worker in Dev mode, the script timeouts after the build finishes.

It is likely related to the S3 client dependency added to the bundle in https://github.com/web3-storage/web3.storage/pull/417

I could not replicate this locally, but @olizilla can. On latest releases, it happened once and it might become annoying if it is recurrent. Let's track this and if it is frequent, we should probably just rely on S3 HTTP PutObject API instead, given all the other most used s3 client are not well suited for a browser environment.

vasco-santos avatar Sep 28 '21 10:09 vasco-santos

cc @hugomrdias

vasco-santos avatar Oct 25 '21 17:10 vasco-santos

hey @vasco-santos are we still experiencing this?

dchoi27 avatar Jan 11 '22 14:01 dchoi27

Way less often since https://github.com/web3-storage/web3.storage/pull/679 but still get it a few times (only in staging I believe, so maybe the production app has different capabilities per the CF plan)

vasco-santos avatar Jan 11 '22 15:01 vasco-santos