From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: GNU Hacker Newsgroups: gmane.emacs.help Subject: socks.el dont work with HTTPS Date: Fri, 04 Feb 2022 14:42:45 +0100 Message-ID: <8735kywxwq.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36970"; mail-complaints-to="usenet@ciao.gmane.io" To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 04 15:34:20 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFzfH-0009Pr-1t for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 15:34:19 +0100 Original-Received: from localhost ([::1]:48882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFzfG-00030v-0M for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 09:34:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFzG5-00089p-Lh for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 09:08:19 -0500 Original-Received: from mta763.solicitae.com ([89.35.150.78]:57848 helo=localhost) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFzG3-0006BU-Mc for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 09:08:17 -0500 Original-Received: from GNUHacker.example.com (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 96bddb53 for ; Fri, 4 Feb 2022 13:42:45 +0000 (UTC) Received-SPF: pass client-ip=89.35.150.78; envelope-from=gnuhacker@member.fsf.org; helo=localhost X-Spam_score_int: 19 X-Spam_score: 1.9 X-Spam_bar: + X-Spam_report: (1.9 / 5.0 requ) BAYES_00=-1.9, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135739 Archived-At: 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?