Curl randomly returns SSL_ERROR_SYSCALL when connecting to a cloudflare cdn


#1

This is what I get 90% of the time instead of a normal 403 which should result in this case:
This happens completely random when I try to call it repeatedly from my server.
(I do not own the streamslabs domain, I have no control over it)

curl -v https://cdn.streamlabs.com

* Rebuilt URL to: https://cdn.streamlabs.com/
*   Trying 104.20.82.218...
* TCP_NODELAY set
* Connected to cdn.streamlabs.com (104.20.82.218) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn.streamlabs.com:443 
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn.streamlabs.com:443

#2

Looks like the issue went away on its own… Weird…