nmengual / code-push-server

Standalone CodePush server from App Center
MIT License
5 stars 3 forks source link

Error when pushing an update #2

Open Irfanwani opened 1 week ago

Irfanwani commented 1 week ago

After sending an update using the command code-push-standalone release-react myapp-android android, it does get uploaded to aws as i can see a file uploaded in my bucket but the server gives this error and the update is never delivered to the apps.

Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.
An error was encountered in a non-retryable streaming request.
Unknown error source
NotImplemented: A header you provided implies functionality that is not implemented
at throwDefaultError (/code-push-server/api/node_modules/@smithy/smithy-client/dist-cjs/index.js:836:20)
at /code-push-server/api/node_modules/@smithy/smithy-client/dist-cjs/index.js:845:5
at de_CommandError (/code-push-server/api/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4739:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /code-push-server/api/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
at async /code-push-server/api/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:485:18
at async /code-push-server/api/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
at async /code-push-server/api/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js:263:18
at async /code-push-server/api/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:110:22
at async /code-push-server/api/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:138:14
nmengual commented 1 day ago

I'll check it out, but I think I know what the problem might be.

Irfanwani commented 1 day ago

I'll check it out, but I think I know what the problem might be.

Please do so. That would be really helpful