agusalex / ghostfolio-sync

Sync Ghostfolio with IBKR
34 stars 9 forks source link

No connection adapters were found for #21

Closed Trefex closed 4 months ago

Trefex commented 4 months ago

Hi @agusalex

I managed to fix the lib, but now I get the following when trying to connect to self hosted ghostfolio.

Would you know what could be the issue here?


[sysadmin@rocky-4gb-fsn1-rc-1 ghostfolio-sync]$ podman run -e GHOST_TOKEN=$GHOST_TOKEN -e IBKR_TOKEN=$IBKR_TOKEN -e IBKR_QUERY=$IBKR_QUERY -e GHOST_HOST=127.0.0.1:3333 localhost/trefex/ghostfolio-sync[2024-07-08 16:15:25] Starting ghostfolio-sync Docker...
[2024-07-08 16:15:25] Crontab Not Present running one time now
[2024-07-08 16:15:32] Starting sync
[2024-07-08 16:15:32] Fetching Query
[2024-07-08 16:15:32] Parsing Query
[2024-07-08 16:15:32] Finding IBKR account
[2024-07-08 16:15:32] No connection adapters were found for '127.0.0.1:3333/api/v1/account'
[2024-07-08 16:15:32] Creating IBKR account
[2024-07-08 16:15:32] No connection adapters were found for '127.0.0.1:3333/api/v1/account'
[2024-07-08 16:15:32] Failed to retrieve account ID closing now
[2024-07-08 16:15:32] End sync```

Many thanks
T
agusalex commented 4 months ago

Glad to hear that! you probably need to add http:// to the HOST, that's actually misleading because it should be called GHOST_URL.