Specific pages show Invalid request scheme: https


#1

I start mitmdump with script:
mitmdump -p 8006 --ssl-insecure
When I access to some specific pages,I get the message:

10.249.22.169:42558: clientconnect
<< Invalid request scheme: https
10.249.22.169:42558: HTTP protocol error in client request: Invalid request scheme: https
10.249.22.169:42558: clientdisconnect
10.249.22.169:42560: clientconnect
<< Invalid request scheme: https
10.249.22.169:42560: HTTP protocol error in client request: Invalid request scheme: https
10.249.22.169:42560: clientdisconnect

But when I use charles it’s ok

Other Info:

Mitmproxy: 4.0.4
Python: 3.6.3
OpenSSL: OpenSSL 1.1.0i 14 Aug 2018
Platform: Linux-3.19.0-25-generic-x86_64-with-debian-jessie-sid