all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* elpher SOCKS5 not working
@ 2024-08-22 14:36 Christopher Howard
  2024-08-22 22:38 ` Christopher Howard
  2024-08-23 10:23 ` Joel Reicher
  0 siblings, 2 replies; 4+ messages in thread
From: Christopher Howard @ 2024-08-22 14:36 UTC (permalink / raw)
  To: Help Gnu Emacs Mailing List

Hi, I want to use elpher as my gemini client, but I also want to route my connections through my TOR SOCKS5 service, and this is not working. E.g., in IceCat I can use FoxyProxy to route my http(s) connections via SOCKS5 to the my local TOR service running on port 9050, and this works fine. Emacs and elpher seems to have the same capability but it is not working.

First, I set these variables through Custom:

```
 '(elpher-socks-always t)
 '(socks-server '("Default server" "socks" 9050 5))
```

But when I navigate to a gemini capsule, I get just this error:

```
---- ERROR -----

When attempting to retrieve gemini://gem.librehacker.com/:
Error initiating connection to server

----------------

Press 'u' to return to the previous page.
```

I tried also setting this variable, which seemed possibly relevant, but it didn't help:

```
 '(url-proxy-services '(("gemini" . "127.0.0.1:9050")))
```

BTW, the error happens immediately, so I know it isn't a connection timing out.

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: elpher SOCKS5 not working
  2024-08-22 14:36 elpher SOCKS5 not working Christopher Howard
@ 2024-08-22 22:38 ` Christopher Howard
  2024-08-23 10:23 ` Joel Reicher
  1 sibling, 0 replies; 4+ messages in thread
From: Christopher Howard @ 2024-08-22 22:38 UTC (permalink / raw)
  To: Help Gnu Emacs Mailing List
  Cc: ~michel-slm/elpher, plugd, William M. Perry, Dave Love

Christopher Howard <christopher@librehacker.com> writes:

> Hi, I want to use elpher as my gemini client, but I also want to route my connections through my TOR SOCKS5 service, and this is not working. E.g., in IceCat I can use FoxyProxy to route my http(s) connections via SOCKS5 to the my local TOR service running on port 9050, and this works fine. Emacs and elpher seems to have the same capability but it is not working.
>
> First, I set these variables through Custom:
>
> ```
>  '(elpher-socks-always t)
>  '(socks-server '("Default server" "socks" 9050 5))
> ```
>
> But when I navigate to a gemini capsule, I get just this error:
>
> ```
> ---- ERROR -----
>
> When attempting to retrieve gemini://gem.librehacker.com/:
> Error initiating connection to server
>
> ----------------
>
> Press 'u' to return to the previous page.
> ```
>
> I tried also setting this variable, which seemed possibly relevant, but it didn't help:
>
> ```
>  '(url-proxy-services '(("gemini" . "127.0.0.1:9050")))
> ```
>
> BTW, the error happens immediately, so I know it isn't a connection timing out.

I am needing to determine if problem is in elpher or in the Emacs socks implementation. Is there any Emacs feature or package known to use SOCKS5 through socks.el? Or some test code?

-- 
Christopher Howard



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: elpher SOCKS5 not working
  2024-08-22 14:36 elpher SOCKS5 not working Christopher Howard
  2024-08-22 22:38 ` Christopher Howard
@ 2024-08-23 10:23 ` Joel Reicher
  2024-08-23 14:36   ` Christopher Howard
  1 sibling, 1 reply; 4+ messages in thread
From: Joel Reicher @ 2024-08-23 10:23 UTC (permalink / raw)
  To: Christopher Howard; +Cc: Help Gnu Emacs Mailing List

Christopher Howard <christopher@librehacker.com> writes:

> Hi, I want to use elpher as my gemini client, but I also want to 
> route my connections through my TOR SOCKS5 service, and this is 
> not working. E.g., in IceCat I can use FoxyProxy to route my 
> http(s) connections via SOCKS5 to the my local TOR service 
> running on port 9050, and this works fine. Emacs and elpher 
> seems to have the same capability but it is not working.
>
> First, I set these variables through Custom:
>

[...]

>  '(socks-server '("Default server" "socks" 9050 5))

Your SOCKS server is called "socks"?

Shouldn't it be "localhost" if you're using TOR? (Please note I 
don't use TOR)

Cheers,

        - Joel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: elpher SOCKS5 not working
  2024-08-23 10:23 ` Joel Reicher
@ 2024-08-23 14:36   ` Christopher Howard
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Howard @ 2024-08-23 14:36 UTC (permalink / raw)
  To: Joel Reicher; +Cc: Help Gnu Emacs Mailing List, J.P., ~michel-slm/elpher, plugd

>>  '(socks-server '("Default server" "socks" 9050 5))
>
> Your SOCKS server is called "socks"?
>
> Shouldn't it be "localhost" if you're using TOR? (Please note I don't
> use TOR)
>
> Cheers,
>
>        - Joel

Thank you, it is working now that I have fixed this setting. I am enjoying browsing Geminispace from within Emacs. My appreciation goes out to all who have put work into socks.el and elpher.el.

-- 
Christopher Howard



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-23 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 14:36 elpher SOCKS5 not working Christopher Howard
2024-08-22 22:38 ` Christopher Howard
2024-08-23 10:23 ` Joel Reicher
2024-08-23 14:36   ` Christopher Howard

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.