Remote server returned an error 503 Server Error and 502 Bad Gateway

Curl reports sometimes success using:

*   Trying IP:PORT...
* Connected to IP (IP) port PORT
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
...

However, on failure it reports:

*   Trying IP:PORT...
* Connected to IP (IP) port PORT
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to IP:PORT
* Closing connection
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to IP:PORT

Further investigation reveals that the maximum number of allowed connections to Invantive Bridge Online is too low, since new connections are being rejected:

Connection id "..." rejected because the maximum number of concurrent connections has been reached.

The maximum number of HTTP connections has significantly been extended to allow for more concurrent users in the future. Additional nodes may be added to further spread out the load.