Cannot connect to Portainer
Hi.
I´ve tried a lot, but cannot connect to Portainer. It´s not working with localhost, name and IP. Credentials for token and password are correct.
services: portainer-backup: image: dockurr/portainer-backup:latest container_name: portainer-backup command: schedule environment: TZ: "Europe/Berlin" PORTAINER_BACKUP_URL: "http://<IP of portainer>:9443" PORTAINER_BACKUP_TOKEN: "xxx" PORTAINER_BACKUP_PASSWORD: "xxx" PORTAINER_BACKUP_OVERWRITE: 1 PORTAINER_BACKUP_SCHEDULE: "00 32 13 * * *" PORTAINER_BACKUP_STACKS: 1 PORTAINER_BACKUP_DRYRUN: 0 PORTAINER_BACKUP_CONCISE: 1 PORTAINER_BACKUP_DIRECTORY: "/backup" PORTAINER_BACKUP_FILENAME: "portainer-backup.tar.gz" volumes: - ./backup:/backup restart: always
Can it be that hard to make it run or I´m just stupid?
Looking through other issues, I found this workaround that worked for me: https://github.com/SavageSoftware/portainer-backup/issues/5#issuecomment-2395270547
Hi Jeff.
NODE_TLS_REJECT_UNAUTHORIZED: 0 makes no difference, same fault.
But with using https instead of http for the portainer´s IP make it working.
Thanks a lot.