-
Notifications
You must be signed in to change notification settings - Fork 186
Description
If device is to be configured first time, client side "balena os configure" command induces a hundreds if not thousands of such errors in API container:
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: Failed to get device type build data for ccon-01/2.102.0 Access Denied AccessDenied: Access Denied
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at Request.extractError (/usr/src/app/node_modules/aws-sdk/lib/services/s3.js:711:35)
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at Request.callListeners (/usr/src/app/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at Request.emit (/usr/src/app/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at Request.emit (/usr/src/app/node_modules/aws-sdk/lib/request.js:686:14)
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at Request.transition (/usr/src/app/node_modules/aws-sdk/lib/request.js:22:10)
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at AcceptorStateMachine.runTo (/usr/src/app/node_modules/aws-sdk/lib/state_machine.js:14:12)
Mar 15 19:26:05 1b8ea8a621f5 api[1214]: at /usr/src/app/node_modules/aws-sdk/lib/state_machine.js:26:10
and 4 from 5 times "balena os configure" ends with "ECONNRESET" error. But, sometimes (1 from 5 times) this command succeeds.
I'm using versions from master branch:
OPENBALENA_API_VERSION_TAG=v0.209.2
OPENBALENA_DB_VERSION_TAG=v5.1.2
OPENBALENA_MDNS_PUBLISHER_VERSION_TAG=v1.9.2
OPENBALENA_REGISTRY_VERSION_TAG=v2.25.3
OPENBALENA_S3_VERSION_TAG=v2.13.10
OPENBALENA_VPN_VERSION_TAG=v11.4.6