version `CXXABI_1.3.9' not found when running 'balena os configure'

you mean like this?

https://api.balena-cloud.com/download?deviceType=raspberrypi3&version=2019.10.2.dev&fileType=.zip

I got a “Error downloading application image” with this URL.

I must be missing something here.

David

Can you try downloading regular (non-esr) releases?

I look through the XML, all raspberrypi3 images are esr-images.

<Contents>

<Key>

esr-images/raspberrypi3/2019.10.2.dev/image/balena.img.zip

</Key>

<LastModified>2019-12-11T04:57:15.000Z</LastModified>

<ETag>"d7eb884a9624522ba296aea18a4ee2ec"</ETag>

<Size>134535301</Size>

<StorageClass>INTELLIGENT_TIERING</StorageClass>

</Contents>

is there another link besides https://files.balena-cloud.com/ ?

Ok. Then try the cli to fetch it: balena os versions raspberrypi3

ok, that works!

I tried 2.47 Dev and it works fine.

thank you so much!

David

Nice to hear that you are unblocked.

We are discussing internally on why you experience this issue with 2.53. Early investigation suggests that it’s an issue specific to your setup as we cannot reproduce it on our end.

Hi

The “balena os versions raspberrypi3” command gives me the following listing:

[root@centos tmp]# balena os versions raspberrypi3
v2.47.0+rev1.prod (recommended)
v2.47.0+rev1.dev
v2.46.1+rev1.prod
v2.46.1+rev1.dev
v2.43.0+rev1.prod
v2.43.0+rev1.dev
v2.41.0+rev3.prod
v2.41.0+rev3.dev
v2.38.0+rev1.prod


v2.0.3+rev1
v2.0.3+rev1.dev
v2.0.0+rev3
v2.0.0+rev3.dev

Not sure if this explains anything but thank you balena team for all the help!

David

Hi

Turns out OS version 2.47 doesn’t quite work out for me. So I am staying with 2.38 for now. I notice that these two versions have different supervisor versions: 10.6.27 and 9.15.7.

With 2.47, this is what I see in the device through “journalctl -u resin-supervisor --no-pager” when updating my apps:

Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [info]    Applying target state
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]   Replacing container for service myapp because of config changes:
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]     Non-array fields:  {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","stopSignal":"SIGTERM","workingDir":""}}
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]     Array Fields:  volumes
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]   Replacing container for service myapp because of config changes:
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]     Non-array fields:  {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","stopSignal":"SIGTERM","workingDir":""}}
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]     Array Fields:  volumes
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]   Replacing container for service myapp because of config changes:
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]     Non-array fields:  {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","stopSignal":"SIGTERM","workingDir":""}}
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [debug]     Array Fields:  volumes
Aug 13 19:06:17 5bfe48c resin-supervisor[1932]: [event]   Event: Docker image download {"image":{"name":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","appId":1,"serviceId":1,"serviceName":"myapp","imageId":34,"releaseId":17,"dependent":0,"dockerImageId":null}}
Aug 13 19:06:19 5bfe48c resin-supervisor[1932]: [error]   LogBackend: server responded with status code: 504
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [event]   Event: Image download error {"error":{"message":"(HTTP code 500) server error - Get https://registry.myapp.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ","stack":"Error: (HTTP code 500) server error - Get https://registry.myapp.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) \n    at /usr/src/app/dist/app.js:727:42130\n    at IncomingMessage.<anonymous> (/usr/src/app/dist/app.js:727:42074)\n    at IncomingMessage.emit (events.js:194:15)\n    at endReadableNT (_stream_readable.js:1125:12)\n    at process._tickCallback (internal/process/next_tick.js:63:19)"},"image":{"name":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","appId":1,"serviceId":1,"serviceName":"myapp","imageId":34,"releaseId":17,"dependent":0,"dockerImageId":null}}
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]   Replacing container for service myapp because of config changes:
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]     Non-array fields:  {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","stopSignal":"SIGTERM","workingDir":""}}
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]     Array Fields:  volumes
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]   Replacing container for service myapp because of config changes:
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]     Non-array fields:  {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","stopSignal":"SIGTERM","workingDir":""}}
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]     Array Fields:  volumes
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]   Replacing container for service myapp because of config changes:
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]     Non-array fields:  {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry.myapp.com/v2/347c47d87fbe5e0e316ab27175d9f1d3@sha256:f3ac2b5d9400db31d35df5cb88fa4e37ee4fbbb78d2c18765501871c353b3a6f","stopSignal":"SIGTERM","workingDir":""}}
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [debug]     Array Fields:  volumes
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]   Scheduling another update attempt in 64000ms due to failure:  Error: Failed to apply state transition steps.  Steps:["fetch"]
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]         at /usr/src/app/dist/app.js:614:16375
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at c (/usr/src/app/dist/app.js:9:77523)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromiseFromHandler (/usr/src/app/dist/app.js:312:325441)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromise (/usr/src/app/dist/app.js:312:326241)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromise0 (/usr/src/app/dist/app.js:312:326940)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromises (/usr/src/app/dist/app.js:312:328181)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at d (/usr/src/app/dist/app.js:312:329886)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at p (/usr/src/app/dist/app.js:312:329825)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at s._drainQueues (/usr/src/app/dist/app.js:312:331345)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at Immediate.drainQueues [as _onImmediate] (/usr/src/app/dist/app.js:312:329567)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at runCallback (timers.js:705:18)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at tryOnImmediate (timers.js:676:5)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at processImmediate (timers.js:658:5)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]   Device state apply error Error: Failed to apply state transition steps.  Steps:["fetch"]
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]         at /usr/src/app/dist/app.js:614:16375
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at c (/usr/src/app/dist/app.js:9:77523)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromiseFromHandler (/usr/src/app/dist/app.js:312:325441)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromise (/usr/src/app/dist/app.js:312:326241)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromise0 (/usr/src/app/dist/app.js:312:326940)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at O._settlePromises (/usr/src/app/dist/app.js:312:328181)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at d (/usr/src/app/dist/app.js:312:329886)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at p (/usr/src/app/dist/app.js:312:329825)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at s._drainQueues (/usr/src/app/dist/app.js:312:331345)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at Immediate.drainQueues [as _onImmediate] (/usr/src/app/dist/app.js:312:329567)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at runCallback (timers.js:705:18)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at tryOnImmediate (timers.js:676:5)
Aug 13 19:06:33 5bfe48c resin-supervisor[1932]: [error]       at processImmediate (timers.js:658:5)

Other times the device doesn’t seem to be able to pick up any new deploy’s from the server. This is what the logs show:

Aug 13 19:31:46 5bfe48c resin-supervisor[1937]: [error]   LogBackend: server responded with status code: 504
Aug 13 19:32:46 5bfe48c resin-supervisor[1937]: [error]   LogBackend: server responded with status code: 504
Aug 13 19:32:50 5bfe48c resin-supervisor[1937]: [api]     GET /v1/healthy 200 - 20.655 ms
Aug 13 19:33:46 5bfe48c resin-supervisor[1937]: [error]   LogBackend: server responded with status code: 504
Aug 13 19:34:47 5bfe48c resin-supervisor[1937]: [error]   LogBackend: server responded with status code: 504
Aug 13 19:35:47 5bfe48c resin-supervisor[1937]: [error]   LogBackend: server responded with status code: 504
Aug 13 19:36:48 5bfe48c resin-supervisor[1937]: [error]   LogBackend: server responded with status code: 504

Hi, can you also try the latest rpi3 image available if you haven’t already? That would be version 2.53.9+rev1

Hi, I tried 2.53.9.dev earlier today and it does not register in my OpenBalena server at all. 2.47 registers fine but deployment is hit and miss. 2.38 works consistently.

My OpenBalena version is 2.0.3

CLI is 12.2.2

Docker:

[root@centos open-balena]# docker version
Client:
 Version:         1.13.1
 API version:     1.26
 Package version: docker-1.13.1-162.git64e9980.el7.centos.x86_64
 Go version:      go1.10.3
 Git commit:      64e9980/1.13.1
 Built:           Wed Jul  1 14:56:42 2020
 OS/Arch:         linux/amd64

Server:
 Version:         1.13.1
 API version:     1.26 (minimum version 1.12)
 Package version: docker-1.13.1-162.git64e9980.el7.centos.x86_64
 Go version:      go1.10.3
 Git commit:      64e9980/1.13.1
 Built:           Wed Jul  1 14:56:42 2020
 OS/Arch:         linux/amd64
 Experimental:    false

Compose:

docker-compose version 1.24.0, build 0aa59064
docker-py version: 3.7.2
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018

When using OS version 2.53.9.dev can you log in the device and check that openvpn is running and vpn connected to your OpenBalena instance? Run journalctl --no-pager -u openvpn and then also journalctl --no-pager -u resin-supervisor

With this current set up, even “balena scan” won’t show my device.

However, I have an older OpenBalena system, that allows me to scan and ssh to it:

openvpn

  Aug 13 21:49:53 ba63e1e openvpn[2619]: Thu Aug 13 21:49:53 2020 Validating certificate extended key usage
    Aug 13 21:49:53 ba63e1e openvpn[2619]: Thu Aug 13 21:49:53 2020 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
    Aug 13 21:49:53 ba63e1e openvpn[2619]: Thu Aug 13 21:49:53 2020 VERIFY EKU OK
    Aug 13 21:49:53 ba63e1e openvpn[2619]: Thu Aug 13 21:49:53 2020 VERIFY OK: depth=0, CN=vpn.myapp.com
    Aug 13 21:49:53 ba63e1e openvpn[2619]: Thu Aug 13 21:49:53 2020 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
    Aug 13 21:49:53 ba63e1e openvpn[2619]: Thu Aug 13 21:49:53 2020 [vpn.myapp.com] Peer Connection Initiated with [AF_INET]10.0.0.108:443
    Aug 13 21:49:54 ba63e1e openvpn[2619]: Thu Aug 13 21:49:54 2020 SENT CONTROL [vpn.myapp.com]: 'PUSH_REQUEST' (status=1)
    Aug 13 21:49:54 ba63e1e openvpn[2619]: Thu Aug 13 21:49:54 2020 AUTH: Received control message: AUTH_FAILED
    Aug 13 21:49:54 ba63e1e openvpn[2619]: Thu Aug 13 21:49:54 2020 SIGTERM[soft,auth-failure] received, process exiting
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 WARNING: file '/var/volatile/vpn-auth' is group or others accessible
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 OpenVPN 2.4.7 arm-poky-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jun  2 2020
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 library versions: OpenSSL 1.1.1b  26 Feb 2019, LZO 2.10
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]10.0.0.108:443
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 Socket Buffers: R=[131072->131072] S=[16384->16384]
    Aug 13 21:50:05 ba63e1e openvpn[2845]: Thu Aug 13 21:50:05 2020 Attempting to establish TCP connection with [AF_INET]10.0.0.108:443 [nonblock]
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 TCP connection established with [AF_INET]10.0.0.108:443
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 TCP_CLIENT link local: (not bound)
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 TCP_CLIENT link remote: [AF_INET]10.0.0.108:443
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 TLS: Initial packet from [AF_INET]10.0.0.108:443, sid=4c1da912 104c81a3
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 VERIFY OK: depth=1, CN=vpn-ca.myapp.com
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 VERIFY KU OK
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 Validating certificate extended key usage
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 VERIFY EKU OK
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 VERIFY OK: depth=0, CN=vpn.myapp.com
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
    Aug 13 21:50:06 ba63e1e openvpn[2845]: Thu Aug 13 21:50:06 2020 [vpn.myapp.com] Peer Connection Initiated with [AF_INET]10.0.0.108:443
    Aug 13 21:50:07 ba63e1e openvpn[2845]: Thu Aug 13 21:50:07 2020 SENT CONTROL [vpn.myapp.com]: 'PUSH_REQUEST' (status=1)
    Aug 13 21:50:07 ba63e1e openvpn[2845]: Thu Aug 13 21:50:07 2020 AUTH: Received control message: AUTH_FAILED
    Aug 13 21:50:07 ba63e1e openvpn[2845]: Thu Aug 13 21:50:07 2020 SIGTERM[soft,auth-failure] received, process exiting
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 WARNING: file '/var/volatile/vpn-auth' is group or others accessible
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 OpenVPN 2.4.7 arm-poky-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jun  2 2020
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 library versions: OpenSSL 1.1.1b  26 Feb 2019, LZO 2.10
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]10.0.0.108:443
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 Socket Buffers: R=[131072->131072] S=[16384->16384]
    Aug 13 21:50:18 ba63e1e openvpn[2867]: Thu Aug 13 21:50:18 2020 Attempting to establish TCP connection with [AF_INET]10.0.0.108:443 [nonblock]
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 TCP connection established with [AF_INET]10.0.0.108:443
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 TCP_CLIENT link local: (not bound)
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 TCP_CLIENT link remote: [AF_INET]10.0.0.108:443
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 TLS: Initial packet from [AF_INET]10.0.0.108:443, sid=3d984a69 406abc48
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 VERIFY OK: depth=1, CN=vpn-ca.myapp.com
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 VERIFY KU OK
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 Validating certificate extended key usage
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 VERIFY EKU OK
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 VERIFY OK: depth=0, CN=vpn.myapp.com
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
    Aug 13 21:50:19 ba63e1e openvpn[2867]: Thu Aug 13 21:50:19 2020 [vpn.myapp.com] Peer Connection Initiated with [AF_INET]10.0.0.108:443
    Aug 13 21:50:20 ba63e1e openvpn[2867]: Thu Aug 13 21:50:20 2020 SENT CONTROL [vpn.myapp.com]: 'PUSH_REQUEST' (status=1)
    Aug 13 21:50:20 ba63e1e openvpn[2867]: Thu Aug 13 21:50:20 2020 AUTH: Received control message: AUTH_FAILED
    Aug 13 21:50:20 ba63e1e openvpn[2867]: Thu Aug 13 21:50:20 2020 SIGTERM[soft,auth-failure] received, process exiting

resin-supervisor

Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [info]    Waiting for connectivity...
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [info]    Starting API server
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [info]    Supervisor API successfully started on port 48484
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [info]    Applying target state
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [debug]   Ensuring device is provisioned
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [debug]   Finished applying target state
Aug 13 21:45:07 ba63e1e resin-supervisor[2084]: [success] Device state apply success
Aug 13 21:45:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:45:37 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:45:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:46:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:46:07 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:46:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:46:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:46:37 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:46:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:47:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:47:07 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:47:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:47:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:47:37 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:47:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:48:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:48:07 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:48:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:48:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:48:37 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:48:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:49:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:49:07 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:49:07 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:49:37 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:49:37 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:49:38 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:50:04 ba63e1e resin-supervisor[2084]: [api]     GET /v1/healthy 200 - 17.111 ms
Aug 13 21:50:08 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:50:08 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:50:08 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:50:38 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:50:38 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:50:38 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:51:08 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:51:08 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:51:08 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:51:38 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:51:38 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:51:38 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}
Aug 13 21:52:08 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap {}
Aug 13 21:52:08 ba63e1e resin-supervisor[2084]: [info]    New device detected. Provisioning...
Aug 13 21:52:08 ba63e1e resin-supervisor[2084]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":""}}

Which version of OpenBalena fails and which one works for you?

currently I am trying to use 2.59 on OpenBalena 2.0.3/CLI 12.2.2. The server cannot scan nor register the devices.

So I use an older OpenBalena 1.2.0/CLI 11.2.1 to scan and ssh into the device. The 2.59 OS is supposed to connect to the new server. I am just using this old one to sneak into the device. I have not done a full test on this old one with 2.59, figured that’s probably pointless because newer version is preferred. It will take me sometime to test it.

Thanks for the info. We’ll try to replicate this on our side

thank you!

FYI my node version is v12.18.3, OS is CentOS Linux release 7.4.1708 (Core).

Hey David, as it is documented https://github.com/balena-io/open-balena/issues/80, openBalena currently works only with balenaOS < 2.49, so I wouldn’t be surprised if it didn’t work with 2.59, for example. We are working on bumping all component versions, but in the meantime you’ll have to stick with the suggested range, and you can use openBalena 2.0.3. The issue you had with 2.47 is likely related to https://github.com/balena-io/balena-supervisor/issues/1084, so you can try the fix described there and see if it works. Let us know how it goes

Thank you! I am going to stay with OS 2.38 for now.

You guys are the best!

Thanks for the kind words David!