xhr失败/ ERR_EMPTY_RESPONSE

时间:2019-12-08 09:29:48

标签: http authentication request xmlhttprequest http-headers

我尝试使用同一台PC从两个不同的位置(路由器)访问站点(用户登录)。在一个位置上,我能够成功登录,但在另一个位置上,则无法成功登录。我在有问题的位置检查了问题,并且收到XHR失败的请求。更具体地说:

Chrome网络工具: Chrome network tool

详细的日志信息: net_error = -324(ERR_EMPTY_RESPONSE)


    947: URL_REQUEST
    https://*************************************************/ValidateUser
    Start Time: 2019-12-08 

    t= 23165 [st=     0] +REQUEST_ALIVE  [dt=301210]
                          --> priority = "MEDIUM"
                          --> traffic_annotation = 101845102
                          --> url = "********************************************/ValidateUser"
    t= 23165 [st=     0]    NETWORK_DELEGATE_BEFORE_URL_REQUEST  [dt=0]
    t= 23166 [st=     1]   +URL_REQUEST_START_JOB  [dt=301208]
                            --> load_flags = 0 (NORMAL)
                            --> method = "POST"
                            --> privacy_mode = 0
                            --> upload_id = "0"
                            --> url = "********************************************/ValidateUser"
    t= 23166 [st=     1]      NETWORK_DELEGATE_BEFORE_START_TRANSACTION  [dt=0]
    t= 23166 [st=     1]      HTTP_CACHE_GET_BACKEND  [dt=0]
    t= 23166 [st=     1]     +HTTP_STREAM_REQUEST  [dt=397]
    t= 23166 [st=     1]        HTTP_STREAM_JOB_CONTROLLER_BOUND
                                --> source_dependency = 948 (HTTP_STREAM_JOB_CONTROLLER)
    t= 23563 [st=   398]        HTTP_STREAM_REQUEST_BOUND_TO_JOB
                                --> source_dependency = 949 (HTTP_STREAM_JOB)
    t= 23563 [st=   398]     -HTTP_STREAM_REQUEST
    t= 23563 [st=   398]      UPLOAD_DATA_STREAM_INIT  [dt=0]
                              --> is_chunked = false
                              --> net_error = 0 (?)
                              --> total_size = 158
    t= 23563 [st=   398]     +HTTP_TRANSACTION_SEND_REQUEST  [dt=1]
    t= 23564 [st=   399]        HTTP_TRANSACTION_SEND_REQUEST_HEADERS
                                --> POST *************/ValidateUser HTTP/1.1
                                    Host: **************
                                    Connection: keep-alive
                                    Content-Length: 158
                                    Accept: */*
                                    Origin: https://**************
                                    X-Requested-With: XMLHttpRequest
                                    User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
                                    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
                                    Sec-Fetch-Site: same-origin
                                    Sec-Fetch-Mode: cors
                                    Referer: https://**************/****************************v=2
                                    Accept-Encoding: gzip, deflate, br
                                    Accept-Language: en-US,en;q=0.9
                                    Cookie: [1398 bytes were stripped]
    t= 23564 [st=   399]        HTTP_TRANSACTION_SEND_REQUEST_BODY
                                --> did_merge = false
                                --> is_chunked = false
                                --> length = 158
    t= 23564 [st=   399]        UPLOAD_DATA_STREAM_READ  [dt=0]
                                --> current_position = 0
    t= 23564 [st=   399]        UPLOAD_DATA_STREAM_READ  [dt=0]
                                --> current_position = 158
    t= 23564 [st=   399]     -HTTP_TRANSACTION_SEND_REQUEST
    t= 23564 [st=   399]     +HTTP_TRANSACTION_READ_HEADERS  [dt=300810]
    t= 23565 [st=   400]        HTTP_STREAM_PARSER_READ_HEADERS  [dt=300809]
                                --> net_error = -324 (ERR_EMPTY_RESPONSE)
    t=324374 [st=301209]     -HTTP_TRANSACTION_READ_HEADERS
                              --> net_error = -324 (ERR_EMPTY_RESPONSE)
    t=324374 [st=301209]   -URL_REQUEST_START_JOB
                            --> net_error = -324 (ERR_EMPTY_RESPONSE)
    t=324374 [st=301209]    URL_REQUEST_DELEGATE_RESPONSE_STARTED  [dt=1]
    t=324375 [st=301210] -REQUEST_ALIVE
                          --> net_error = -324 (ERR_EMPTY_RESPONSE)

需要解决的问题是什么?问题似乎出现在路由器上,但​​这是我无法从该位置进入的唯一站点。

0 个答案:

没有答案