androidseb25 / iGotify-Notification-Assistent

Docker container for sending Gotify notifications to iOS devices (bridge to gotify websocket)
MIT License
99 stars 3 forks source link

[BUG] Can't log in to iGotify App #61

Closed Stefan3005 closed 1 month ago

Stefan3005 commented 1 month ago

Describe the bug Hello together,

today I tried to set up Gotify with iGotify. But I have an issue when want to login to the iGotify App on my IPhone. I can open the Gotify and iGotify Site. I can login to Gotify with the (Test) Credentials: "admin" "test1234" and the iGotify APP finds both addresses. But when I type in my credentials, an error message occur (See in the Screenshots (Don't be confused, on the screenshot it looks as if no password has been entered but i entered "test1234"))

Can somebody explain, what I have done wrong?

Expected behavior Login with my credentials to the iGotify App.

Yaml File

# Docker Compose File for uptime gotify + igotify
# Supposed path: /srv/gotify/docker-compose.yml

services:
  gotify:
    container_name: gotify
    hostname: gotify
    image: gotify/server:latest
    # image: gotify/server-arm7
    # image: gotify/server-arm64
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    networks:
      - net
      - default
    #ports:
      #- "8680:80"
    volumes:
      - ./data:/app/data
    environment:
      TZ:                       'Europe/Berlin'
      GOTIFY_DEFAULTUSER_PASS:  'test1234'   # Change me!!!!!

  igotify:
    container_name: igotify
    hostname: igotify
    image: ghcr.io/androidseb25/igotify-notification-assist:latest
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    pull_policy: always
    networks:
      - net
      - default
    #ports:
      #- "8681:8080"
    environment:
      - IGOTIFY_CLIENT_TOKEN='CUqwy0kkAZbYxu4'
      - GOTIFY_SERVER_URL="http://gotify"
    volumes:
      - ./api-data:/app/data

networks:
  net:
  default:
    external: true
    name: reverseProxyNetwork

volumes:
  data:
  api-data:

Screenshots Bildschirmfoto 2024-05-18 um 11 13 43 2024-05-18 11_21_19-Window

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

androidseb25 commented 1 month ago

Hi im currently on vacation

I will answer you back when I'm back

androidseb25 commented 1 month ago

Hi

please use the latest docker compose yml file for using iGotify. In version 1.2.0.3 we don't use environment variables

The configuration is only over the app possible.

To setup is it necessary that the notification container is available in you're network over dns name or ip address

Stefan3005 commented 1 month ago

Thank you very much. I tried the yaml file from version 1.2.0.3 at first, but it don't work.

Today I tried it again, and it works. Maybe it has something to do, that this time I use the yaml file from version 1.2.0.3 and config everything without the reverse Proxy, connect the App and after this I activate the Reverse Proxy.

Nevertheless you helped me, thank you again :)