[tor-bugs] #27821 [Core Tor/Tor]: HTTP tunnel error: saying "HTTP/1.0 405 Method Not Allowed

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 24 12:32:32 UTC 2018


#27821: HTTP tunnel error: saying "HTTP/1.0 405 Method Not Allowed
--------------------------+---------------------------
 Reporter:  traumschule   |          Owner:  (none)
     Type:  enhancement   |         Status:  closed
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:  not a bug
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+---------------------------
Changes (by traumschule):

 * type:  defect => enhancement


Comment:

 This is the message i get using the SOCKSPORT. Could we give a similar
 message for HTTPTunnelPort as well?
 {{{
 $ http_proxy=localhost:9050 curl torproject.org|cat
 <html>
 <head>
 <title>This is a SOCKS Proxy, Not An HTTP Proxy</title>
 </head>
 <body>
 <h1>This is a SOCKs proxy, not an HTTP proxy.</h1>
 <p>
 It appears you have configured your web browser to use this Tor port as
 an HTTP proxy.
 </p><p>
 This is not correct: This port is configured as a SOCKS proxy, not
 an HTTP proxy. If you need an HTTP proxy tunnel, use the HTTPTunnelPort
 configuration option in place of, or in addition to, SOCKSPort.
 Please configure your client accordingly.
 </p>
 <p>
 See <a
 href="https://www.torproject.org/documentation.html">https://www.torproject.org/documentation.html</a>
 for more information.
 </p>
 </body>
 </html>
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27821#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list