[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #29119 [Applications/Tor Browser]: Searching after start-up when about:tor is loaded returns "400 Bad Request" sometimes



#29119: Searching after start-up when about:tor is loaded returns "400 Bad Request"
sometimes
--------------------------------------------+--------------------------
 Reporter:  gk                              |          Owner:  tbb-team
     Type:  defect                          |         Status:  new
 Priority:  Medium                          |      Milestone:
Component:  Applications/Tor Browser        |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tbb-regression, tbb-8.0-issues  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+--------------------------

Comment (by cypherpunks):

 When this happens, you always get:
 {{{
 06:40:20.543 "Handler function threw an exception: [Exception...
 "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE)
 [nsIHttpChannelInternal.remoteAddress]"  nsresult: "0x80040111
 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
 resource://devtools/shared/base-loader.js ->
 resource://devtools/shared/webconsole/network-monitor.js ::
 _onResponseHeader :: line 1369"  data: no]
 Stack: _onResponseHeader@resource://devtools/shared/base-loader.js ->
 resource://devtools/shared/webconsole/network-monitor.js:1369:5
 _dispatchActivity@resource://devtools/shared/base-loader.js ->
 resource://devtools/shared/webconsole/network-monitor.js:1011:9
 NetworkMonitor.prototype.observeActivity<@resource://devtools/shared/base-
 loader.js -> resource://devtools/shared/webconsole/network-
 monitor.js:1073:7
 exports.makeInfallible/<@resource://devtools/shared/base-loader.js ->
 resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
 Line: 1369, column: 0" 1 ThreadSafeDevToolsUtils.js:88:5
         reportException
 resource://devtools/shared/ThreadSafeDevToolsUtils.js:88:5
         exports.makeInfallible/<
 resource://devtools/shared/ThreadSafeDevToolsUtils.js:115:7
 }}}
 HAR:
 {{{
 {
   "log": {
     "version": "1.1",
     "creator": {
       "name": "Firefox",
       "version": "60.5.0"
     },
     "browser": {
       "name": "Firefox",
       "version": "60.5.0"
     },
     "pages": [
       {
         "startedDateTime": "2019-02-04T06:45:51.143+00:00",
         "id": "page_1",
         "title": "About Tor",
         "pageTimings": {
           "onContentLoad": -1549262751143,
           "onLoad": -1549262751143
         }
       }
     ],
     "entries": [
       {
         "pageref": "page_1",
         "startedDateTime": "2019-02-04T06:45:51.143+00:00",
         "request": {
           "bodySize": 0,
           "method": "POST",
           "url": "https://3g2upl4pq6kufc4m.onion/";,
           "httpVersion": "",
           "headers": [
             {
               "name": "Host",
               "value": "3g2upl4pq6kufc4m.onion"
             },
             {
               "name": "User-Agent",
               "value": "Mozilla/5.0 (Windows NT 6.1; rv:60.0)
 Gecko/20100101 Firefox/60.0"
             },
             {
               "name": "Accept",
               "value":
 "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
             },
             {
               "name": "Accept-Language",
               "value": "en-US,en;q=0.5"
             },
             {
               "name": "Accept-Encoding",
               "value": "gzip, deflate, br"
             },
             {
               "name": "Content-Type",
               "value": "application/x-www-form-urlencoded"
             },
             {
               "name": "Content-Length",
               "value": "6"
             },
             {
               "name": "Connection",
               "value": "keep-alive"
             },
             {
               "name": "Upgrade-Insecure-Requests",
               "value": "1"
             }
           ],
           "cookies": [],
           "queryString": [],
           "headersSize": 392
         },
         "response": {
           "status": 0,
           "statusText": "",
           "httpVersion": "",
           "headers": [
             {
               "name": "server",
               "value": "nginx"
             },
             {
               "name": "date",
               "value": "Mon, 04 Feb 2019 06:45:58 GMT"
             },
             {
               "name": "content-type",
               "value": "text/html; charset=UTF-8"
             },
             {
               "name": "content-length",
               "value": "166"
             },
             {
               "name": "strict-transport-security",
               "value": "max-age=0"
             },
             {
               "name": "x-frame-options",
               "value": "SAMEORIGIN"
             },
             {
               "name": "content-security-policy",
               "value": "default-src https: blob: data: 'unsafe-inline'
 'unsafe-eval'; frame-ancestors 'self'"
             },
             {
               "name": "x-xss-protection",
               "value": "1;mode=block"
             },
             {
               "name": "x-content-type-options",
               "value": "nosniff"
             },
             {
               "name": "referrer-policy",
               "value": "origin"
             },
             {
               "name": "expect-ct",
               "value": "max-age=0"
             },
             {
               "name": "X-Firefox-Spdy",
               "value": "h2"
             }
           ],
           "cookies": [],
           "content": {
             "mimeType": "text/html; charset=UTF-8",
             "size": 166,
             "text": "<html>\r\n<head><title>400 Bad
 Request</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>400 Bad
 Request</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
           },
           "redirectURL": "",
           "bodySize": null
         },
         "cache": {},
         "timings": {
           "blocked": 5448,
           "dns": 0,
           "connect": 3764,
           "ssl": 0,
           "send": 0,
           "wait": 738,
           "receive": 1
         },
         "time": 9951,
         "_securityState": "secure"
       }
     ]
   }
 }
 }}}
 I see `"httpVersion": ""`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29119#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs