help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

socks.el dont work with HTTPS


From: GNU Hacker
Subject: socks.el dont work with HTTPS
Date: Fri, 04 Feb 2022 14:42:45 +0100

Ive this in my emacs conf (only, no more configs)

#+begin_src elisp

(setq socks-override-functions t)
(setq url-gateway-method 'socks)
(setq socks-debug t)
(require 'socks)

(setq socks-noproxy '("localhost" "127.0.0.1" "192.168.1.50" "192.168.1.5"))


;;Tor is the socks proxy

(setq socks-server
  '("TOR"        ; is the description of the server.
    "127.0.0.1"  ; is the host name for the server.
    9050         ; is the port number.
    5))          ; is the socks version (can be 4 as well).
    
#+end_src


Im running tor.

When I try:

M-x eww RET gnu.org RET

It works, load http://gnu.org (HTTP in plain)

Also work with .onion domains in HTTP plain

No problems with HTTP but



When I try:

M-x eww RET https://gnu.org RET


Return an error:

   Bad Request

   Your browser sent a request that this server could not understand.
   Reason: You're speaking plain HTTP to an SSL-enabled server port.
   Instead use the HTTPS scheme to access this URL, please.


What's wrong?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]