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

RequestError: self signed certificate<title> #996

Closed
4 tasks done
thedamn316 opened this issue May 31, 2023 · 7 comments
Closed
4 tasks done

RequestError: self signed certificate<title> #996

thedamn316 opened this issue May 31, 2023 · 7 comments
Labels
🐛 Bug Something isn't working 📝 Needs more info An issue that has too little information

Comments

@thedamn316
Copy link

Environment

Docker

Version

0.12.2

Describe the problem

I have added a self signed certificate on qbittorrent and accessing it via Traefik locally (https://qbittorrent.hlab.home/) but since then widget does not work. I have added NODE_TLS_REJECT_UNAUTHORIZED=0 to the homarr docker compose

Logs

Error communicating with your download client 'qbittorrent' (3d0836d4-c02d-425b-964b-3ef0b5f54427): RequestError: self signed certificate

Context

image

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@thedamn316 thedamn316 added the 🐛 Bug Something isn't working label May 31, 2023
@manuel-rw
Copy link
Collaborator

Hi, thanks for your issue.
Are you sure that you defined the variable correctly?
Can you backup your config from the file system once and re-create the container just to be sure?

If that doesn't help, can you maybe post your compose here?

@thedamn316
Copy link
Author

thedamn316 commented May 31, 2023

This is part of the docker compose

  # Homarr Service
  homarr:
    <<: *common-keys-core
    container_name: homarr
    image: ghcr.io/ajnart/homarr
    volumes:
      - $USERDIR/homarr/configs:/app/data/configs
      - $USERDIR/homarr/icons:/app/public/icons
      - $USERDIR/homarr/img:/app/public/img
    #ports:
      #- '7575:7575'
    environment:
      - PUID=$PUID
      - PGID=$PGID
      - NODE_TLS_REJECT_UNAUTHORIZED=0
      - PASSWORD=$PASSWORD_Homarr
      - BASE_URL=homarr.hlab.home
    labels:  
      - traefik.enable=true
      - traefik.http.routers.homarr-secure.entrypoints=websecure
      - traefik.http.routers.homarr-secure.rule=Host(`homarr.hlab.home`) 
      - traefik.http.routers.homarr-secure.tls=true
      - traefik.http.routers.homarr-secure.service=homarr
      - traefik.http.services.homarr.loadbalancer.server.port=7575 
      - traefik.docker.network=mynetwork

I have tried to re-create the container same issue. Btw, Radarr is configured the same way as qbittorrent and the calendar integration works

@manuel-rw
Copy link
Collaborator

Hi, please edit your comment to use the markdown code blocks.
This way, we can actually read your compose.
Thank you.

https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks

@thedamn316
Copy link
Author

Hi, anybody has an idea on how to resolve this?

@manuel-rw
Copy link
Collaborator

manuel-rw commented Jun 6, 2023

@ajnart can you look into this? Maybe the environment variable is being ignored...

Sorry @thedamn316 for not replying back. I glanced over your email by accident.

@manuel-rw manuel-rw added the 📝 Needs more info An issue that has too little information label Jun 9, 2023
@ajnart
Copy link
Owner

ajnart commented Jul 23, 2023

Hey sorry I cannot debug this as I have no idea how to set up either tarefik or a self signed certificate.
In my case using authelia there is a certain setting so that you can “un-protect” certain routes. I use it to allow anything to go to the /api/ path of my containers, since the API routes are secured with an api key. Perhaps you can do the same in tarefik? If not I have no clue how to debug this.

Also I am not sure if the NODE flag would work since I believe we are not using a whole nodejs in our docker deployment

@Meierschlumpf
Copy link
Collaborator

In 1.0 you can not simply upload either the root certificate of your self signed certificate or the self signed certificate itself:
https://homarr.dev/docs/management/certificates/

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Homarr Kanban Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📝 Needs more info An issue that has too little information
Projects
Archived in project
Development

No branches or pull requests

4 participants