* socks.el dont work with HTTPS
@ 2022-02-04 13:42 GNU Hacker
2022-03-14 17:41 ` Hendur Saga via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 2+ messages in thread
From: GNU Hacker @ 2022-02-04 13:42 UTC (permalink / raw)
To: Help GNU Emacs
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: socks.el dont work with HTTPS
2022-02-04 13:42 socks.el dont work with HTTPS GNU Hacker
@ 2022-03-14 17:41 ` Hendur Saga via Users list for the GNU Emacs text editor
0 siblings, 0 replies; 2+ messages in thread
From: Hendur Saga via Users list for the GNU Emacs text editor @ 2022-03-14 17:41 UTC (permalink / raw)
To: GNU Hacker, help-gnu-emacs@gnu.org
> What's wrong?
I don't use EWW, but it appears to be a longstanding[1][2] bug. I haven't used proxychains but perhaps torsocks might work? Also it's called Tor, not TOR.[3]
I have used Tor with Elpher[4] with a very similar config with no SOCKS problems.
[1] https://old.reddit.com/r/emacs/comments/5vz7ov/restclient_mode_with_socks5_proxy/de6ewpy/
[2] https://stackoverflow.com/questions/19699294/make-emacs-access-to-https-over-socks-proxy/60112886#60112886
[3] https://support.torproject.org/#why-is-it-called-tor[4] https://thelambdalab.xyz/elpher/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-14 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-04 13:42 socks.el dont work with HTTPS GNU Hacker
2022-03-14 17:41 ` Hendur Saga via Users list for the GNU Emacs text editor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).