Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOR Support? #45

Open
btchans opened this issue Mar 22, 2023 · 1 comment
Open

TOR Support? #45

btchans opened this issue Mar 22, 2023 · 1 comment

Comments

@btchans
Copy link

btchans commented Mar 22, 2023

does satdress support tor?

clearnet setups work
but when i try to setup a onionservice it gives me:

couldn't make an invoice with the given data: call to lnbits failed (501): <html>
<head>
<title>This is a SOCKS Proxy, Not An HTTP Proxy</title>
</head>
<body>
<h1>This is a SOCKs proxy, not an HTTP proxy.</h1>
<p>
It appears you have configured your web browser to use this Tor port as
an HTTP proxy.
</p><p>
This is not correct: This port is configured as a SOCKS proxy, no

this is my docker-compose

version: "3.7"

services:
  satdress:
    build: .
    container_name: satdress
    restart: always
    environment:
      - PORT=17422
      - DOMAIN=xyzui.com
      - SECRET=qsssdfdxyzjdhokidfdfdwaslpoz
      - SITE_OWNER_URL=https://t.me/fdf
      - SITE_OWNER_NAME=@dfdf
      - SITE_NAME=Satdress
      - TOR_PROXY_URL=socks5h://tor:9050
    ports:
      - 17422:17422
    volumes:
      - satdressData:/satdress.com
    networks:
      - proxy

  tor:
    container_name: tor
    image: dperson/torproxy
    ports:
      - 9050:9050
    restart: always
    ports:
      - 9050:9050
    networks:
      - proxy

networks:
  proxy:
    name: root_proxy
    external: true
volumes:
  satdressData:
    name: satdressData
@btchans
Copy link
Author

btchans commented Mar 22, 2023

fixed it by using the correct protocol :)
TOR_PROXY_URL=socks5://tor:9050 ✅

issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant