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

TLS not working #145

Open
Unrepentant-Atheist opened this issue Jul 23, 2023 · 8 comments
Open

TLS not working #145

Unrepentant-Atheist opened this issue Jul 23, 2023 · 8 comments

Comments

@Unrepentant-Atheist
Copy link

I got this docker-compose running:

---
version: '3.3'
services:
    openbooks:
        image: evanbuss/openbooks
        container_name: openbooks
        #command: --name dontwannagive --persist
        command: --name dontwannagive --persist --tls=false -s irc.irchighway.net:6660
        ports:
            - 8180:80
        volumes:
            - /home/xxx/docker-data/openbooks:/books
        environment:
            - NODE_ENV=production
        labels:
            - deunhealth.restart.on.unhealthy=true
        restart: unless-stopped
networks:
  default:
    name: dockernet
    external: true

Notice command: --name dontwannagive --persist --tls=false -s irc.irchighway.net:6660 --> --tls=false , if I turn it to true, then it can't connect to the IRC. Kinda want to use encryption...

@AlexStapleton
Copy link

I tried using this docker compose (obviously changed to my volume and username) but could not get search to work still.

@bterps
Copy link

bterps commented Sep 18, 2023

I believe default is true, so don't think you need to specify --tls=true to make it work, maybe thats why? My compose works (but haven't confirmed its actually using TLS)

345     container_name: openbooks
346     image: evanbuss/openbooks:latest
347     restart: always
348     ports:
349       - $OPENBOOKS_PORT:80
350     volumes:
351       - /mnt/mediaLibrary/books:/books
352     command: --name johndoe --persist```

@Unrepentant-Atheist
Copy link
Author

Unrepentant-Atheist commented Sep 23, 2023

Default compose doesn't work for me, that's why I have to run with --tls=false and commented out the default #command: --name dontwannagive --persist. Otherwise it's can't connect.

@Kribbage
Copy link

make sure you enable HSTS in your reverse proxy settings if you are using one!

@ikidd
Copy link

ikidd commented Jan 5, 2024

Thanks, --tls=false fixed my instance.

@99linesofcode
Copy link

Could this be cause irc.highway.net changed their ports? From their homepage:

The ports we support are 6660 to 6669 and 7000. For connections through SSL use port 6697 or 9999.

@Unrepentant-Atheist
Copy link
Author

Yes, indeed. 6697 or 9999 works!

@Unrepentant-Atheist
Copy link
Author

Unrepentant-Atheist commented May 18, 2024

Gotta reopen it again.

The command command: --name FattyMcFattington --persist -s irc.irchighway.net:6697 or command: --name FattyMcFattington --persist -s irc.irchighway.net:9999 worked, now it doesn't anymore.

Correction: It works about 2 out of 15 times only.

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

6 participants