RemoteDisconnected Remote end closed connection without response

after simulating a successful login, when a jsp page is requested using python3.6 "s requests library, there is no response for a long time.
finally reports an error: ("Connection aborted.", RemoteDisconnected (" Remote end closed connection without response"))

the code is as follows:

search_header = {
            "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
            "Accept-Encoding": "gzip, deflate",
            "Accept-Language": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2",
            "Cache-Control": "max-age=0",
            "Connection": "keep-alive",
            "Content-Length": "26",
            "Content-Type": "application/x-www-form-urlencoded",
            "Cookie": "JSESSIONID=EC7438DBF8510D15A57A803647DC5FA0",
            "Host": "********",
            "Referer": "http://******/jsxsd/kscj/cjcx_query",
            "Upgrade-Insecure-Requests": "1",
            "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) \
                                        AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36",
        }
        payload = {
            "kcmc": "",
            "kcxz": "",
            "kksj": "",
            "xsfs": "all"
        }
        cookie = {
            "JSESSIONID": "EC7438DBF8510D15A57A803647DC5FA0"
        }
        url = "http://****/jsxsd/kscj/cjcx_list"
        req = self.session.get(url, headers=search_header, cookies=cookie, params=payload)
Mar.11,2021

Hello, I have the same problem. Have you solved it?

Menu