benjamincburns/websockproxy

any idea why http works but https works only with a handful of domains

Closed this issue · 1 comments

matti commented

I've configured my own proxy and disabled thottling by return True (#4)

when I open
https://bellard.org/jslinux/vm.html?url=alpine-x86.cfg&mem=192&net_url=wss://my-proxy.com

I can

$ curl https://www.google.com

But I can not $ curl https://someotherdomain.com

But all $ curl http://anydomain works.

I have a feeling that this is related to some "packet sizes" etc of https

Usually it hangs like this:

curl --verbose https://www.cnn.com
*   Trying 151.101.1.67:443...
* Connected to www.cnn.com (151.101.1.67) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
 <hangs>
matti commented

was: lb