Banned IPs, Connection reset by peer?

Hello everybody,

currently, I am facing the problem that the platform IO core won’t connect to pio remote. Any command interacting with the remote service will result in the following answer:

2024-11-29 10:22:32 [warn] Connection is lost to PIO Remote Cloud. Reconnecting
2024-11-29 10:22:35 [warn] Connection is lost to PIO Remote Cloud. Reconnecting
2024-11-29 10:22:42 [warn] Connection is lost to PIO Remote Cloud. Reconnecting

The CLI performs multiple attempts to connect to the pio remote cloud, but even after waiting half an hour, the connection is not established.
If I try to perform the connection by myself, using openssl with the command

openssl s_client -host remote.platformio.org -port 4413

I am receiving the following answer:

CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 323 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

As you can see, the remote host resets the connection. The problem is: The connection worked the last few days without problems. Additionally, if I use my workplaces VPN, the connection using pio remote … works and also the querying using openssl will result in a valid connection.

Interestingly, I have encountered this issue on multiple devices now.
Is this some kind of rate limiting? Has anyone else encountered this error?

I also tried to exclude common errors: I have a valid internet connection, reinstalled pio multiple times, reauthenticated multiple times

Kind regards

We have had this issue which was a result of the platform upgrading their minimum TLS connectiin requirements. Check what the minimun TLS is required and ensure your connection respects this.