Mitmproxy grabbed the APP package and kept having ssl protocol errors.

I am ready to crawl the request and response package of app. The following error has bothered me for a long time, and I also ask the gods to take a look at it.

PC environment: win10

Mobile: Android

and the generated certificates expire at the point in time of the previous day

< < Cannot establish TLS with client (sni: entree.igetget.com): TlsException ("SSL handshake error: SysCallError (- 1, "Unexpected EOF")",)

Addon error: Traceback (most recent call last):

UnicodeEncodeError: "gbk" codec can"t encode character" xc6" in position 6: illegal multibyte sequence

Mar.29,2021

I also encountered this problem. Have you solved it


you should turn off MITM, and use packet crawling software (such as wireshark) to capture a section of App traffic and analyze whether it is a normal SSL protocol and whether it comes with a client certificate.

What does it mean that
and the generated certificate expire at the point in time of the previous day
? The expiration time on the screenshot is 2021-07-21 . By default, MITM generates a certificate valid for one year (counting from the same day).
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa899-1fe8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa899-1fe8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?