all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: GNU Hacker <gnuhacker@member.fsf.org>
To: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: socks.el dont work with HTTPS
Date: Fri, 04 Feb 2022 14:42:45 +0100	[thread overview]
Message-ID: <8735kywxwq.fsf@example.com> (raw)


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	other threads:[~2022-02-04 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 13:42 GNU Hacker [this message]
2022-03-14 17:41 ` socks.el dont work with HTTPS Hendur Saga via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735kywxwq.fsf@example.com \
    --to=gnuhacker@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.