Replies: 5 comments 8 replies
-
Hi, thanks for opening an issue. The redirect is supposed to go to Firefly III, so (presumably) port 80. Not 81. Please check your configuration. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick response! Which redirect? |
Beta Was this translation helpful? Give feedback.
-
Im having the same problem, and I have the container of firefly at 8080 port |
Beta Was this translation helpful? Give feedback.
-
Could you share your docker configuration please? |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm running into a similar issue. I'm not running in full local but on a device on my home network (FireflyIII version 6.1.22). docker composeservices:
app:
image: fireflyiii/core:latest
container_name: firefly_iii_core
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.firefly-app.rule=Host(`firefly.raspi5.home.arpa`)
- traefik.http.routers.firefly-app.entrypoints=web
- traefik.http.services.firefly-app.loadbalancer.server.port=8080
- homepage.group=finance
- homepage.name=FireflyIII
volumes:
- firefly_iii_upload:/var/www/html/storage/upload
env_file: .env
networks:
- firefly_iii
- traefik_proxy
depends_on:
- db
importer:
image: fireflyiii/data-importer:latest
hostname: importer
restart: always
container_name: firefly_iii_importer
networks:
- firefly_iii
- traefik_proxy
labels:
- traefik.enable=true
- traefik.http.routers.firefly-importer.rule=Host(`firefly-import.raspi5.home.arpa`)
- traefik.http.routers.firefly-importer.entrypoints=web
- traefik.http.services.firefly-importer.loadbalancer.server.port=8080
depends_on:
- app
env_file: .importer.env
redis:
image: redis:7.4.1-bookworm
labels:
- "traefik.tcp.services.redis.loadbalancer.server.port=6379"
container_name: firefly_iii_redis
networks:
- firefly_iii
db:
image: mariadb:lts
hostname: db
container_name: firefly_iii_db
restart: always
env_file: .db.env
networks:
- firefly_iii
volumes:
- firefly_iii_db:/var/lib/mysql
cron:
#
# To make this work, set STATIC_CRON_TOKEN in your .env file or as an environment variable and replace REPLACEME below
# The STATIC_CRON_TOKEN must be *exactly* 32 characters long
#
image: alpine
restart: always
container_name: firefly_iii_cron
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/<something>;echo\" | crontab - && crond -f -L /dev/stdout"
networks:
- firefly_iii
volumes:
firefly_iii_upload:
firefly_iii_db:
networks:
firefly_iii:
driver: bridge
traefik_proxy:
external: true
Checking everything is running and ports opened
Steps reproducedThen I go to http://firefly.raspi5.home.arpa, login -> Profile -> Oauth, create new client with ID XX.
In .env I have also:
Then when I go to firefly-import.raspi5.home.arpa: Then when clicking on Authorise: What the logs are saying?Curious, I wnet into the log of the importer container and something is bothering me:
I don't really get why I get a client error. From my knowledge and I what I understand of Docker, I should be able to reach between containers using the http://app:8080, but something seems off here. Pinging the app from the importer seems to work:
I've tried with :
I'm pretty sure it's a configuration issue with reverse proxy and not the app itself, as my installation was working before (but not properly a reverse proxy, nginx proxy manager with the main app proxied, but not the importer) I'm pretty sure the solution is simple and will look more, will keep updated if I find a solution. If someone have a clue... Best, |
Beta Was this translation helpful? Give feedback.
-
Support guidelines
I've found a bug and checked that ...
Description
Using docker.
I just installed firefly + the data importer, modified the config, set the client id with callback url
http://localhost:81/callback
.Visiting
http://localhost:81/
shows an authorize button. Clicking it just shows the word "empty" on the page, the url beinghttp://localhost:81/callback?code=...
Going to
http://localhost:81/
shows the authorize button again.Debug information
Debug information for Firefly III Data Importer version 1.5.7.
Expected behaviour
Authorization successful
Steps to reproduce
No response
Additional info
No response
Beta Was this translation helpful? Give feedback.
All reactions