~michel-slm/elpher

Re: elpher SOCKS5 not working?

Details
Message ID
<87msl4s29r.fsf@thelambdalab.xyz>
DKIM signature
missing
Download raw message
Hi Christopher,

Have you been able to establish socks-based connections using other
emacs packages?  Elpher just uses Emacs' own socks routines to establish
connections, so the first thing to check would be whether this is an
elpher problem or something more general.

BTW I've never used Tor and wasn't the one who added the socks wrapper
around the network connection code in elpher, so if it is an elpher
problem I won't be too much help. I'm happy to take patches on this though.  

Cheers,
Tim

Christopher Howard <christopher@librehacker.com> writes:
> Hi, I want to switch over to elpher as my primary gemini client, but I
> have a requirement that I need to be able to route the connections
> through my TOR daemon, available at 127.0.0.1:9050. I see that elpher
> has SOCKS5 support but it doesn't seem to be working for me. Or
> perhaps I am not setting it up correctly.
>
> I didn't see a guide for this, but I set these variables (through Custom):
>
>  '(elpher-socks-always t)
>  '(socks-server '("Default server" "socks" 9050 5))
>
> But when I try to connect to a gemini capsule, I always get his error:
>
> ```
> ---- ERROR -----
>
> When attempting to retrieve gemini://gem.librehacker.com/:
> Error initiating connection to server
>
> ----------------
>
> Press 'u' to return to the previous page.
> ```
>
> This error appears immediately, indicating it is not a timeout.
>
> I tried setting this variable as well, but it didn't change anything:
>
> ```
>  '(url-proxy-services '(("gemini" . "127.0.0.1:9050")))
> ```
>
> Here is my Emacs information:
>
> ```
> GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
> ```
>
> Here is my system information:
>
> ```
> christopher@theoden 
> ------------------- 
> OS: Guix System x86_64 
> Host: OptiPlex 9020 00 
> Kernel: 5.15.161-gnu 
> Uptime: 49 days, 22 hours, 55 mins 
> Packages: 167 (guix-system), 251 (guix-user) 
> Shell: bash 5.1.16 
> Resolution: 1920x1080 
> DE: GNOME 
> Theme: Adwaita [GTK2/3] 
> Icons: Adwaita [GTK2/3] 
> Terminal: shepherd 
> CPU: Intel i5-4570 (4) @ 3.600GHz 
> GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
> GPU: Intel HD Graphics 
> Memory: 4297MiB / 15914MiB 
> ```
Reply to thread Export thread (mbox)