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

Cannot login via PAT #52

Open
zeridon opened this issue Jun 11, 2019 · 6 comments

Comments

Projects
None yet
3 participants
@zeridon
Copy link

commented Jun 11, 2019

Firefly III Server Version:
4.7.17

Firefly III Mobile Version:
1.3.3

Android Version:
7.0
Device Information:

  • BRAND: Motorola
  • MODEL: Moto G (4)

Expected Behavior

After configuring PAT to be able to see my current data

Current Behavior

App says "No asset accounts found, do you want to add" If ok -> crash if no-> closes

Steps to Reproduce

  • Have a FF3 instance with at least 2 pages of accounts.
  • Have used the instance for at least 2 months (mine is at 4 mo usage)
  • Open app
  • Connect via PAT (Oauth is not working for me)

Nginx logs

That is all i see in the logs

==> /var/log/nginx/money-ssl-access.log <==
[11/Jun/2019:12:48:56 +0000] "GET /api/v1/accounts?type=all&page=1 HTTP/1.1" 200 43617 "-" "xyz.hisname.fireflyiii"
[11/Jun/2019:12:48:57 +0000] "GET /api/v1/accounts?type=all&page=2 HTTP/1.1" 200 32818 "-" "xyz.hisname.fireflyiii"
@emansih

This comment has been minimized.

Copy link
Owner

commented Jun 11, 2019

Ok, just to be clear. What is your url format?

192.168.1.1
192.168.1.1/
192.168.1.1/firefly
192.168.1.1/firefly/
https://192.1688.1.1
https://192.1688.1.1/firefly
https://192.1688.1.1/firefly/
@zeridon

This comment has been minimized.

Copy link
Author

commented Jun 11, 2019

@zeridon

This comment has been minimized.

Copy link
Author

commented Jun 11, 2019

On the first page there are 3 asset accounts listed (as much as i have).

Plugging type=asset instead of type=all returns only my asset accounts (and maybe is a more sensible request to send.

@emansih

This comment has been minimized.

Copy link
Owner

commented Jun 11, 2019

I agree that it is more sensible to get only assets accounts.

@sokai

This comment has been minimized.

Copy link

commented Jul 12, 2019

Hey there …

I sadly have a similar problem with the login. And I don't know how to fix it… – The login (with the "Personal Access Token" in the app) is running very long without success/response and after some time (feels like 5 minutes or more) I'm on the login screen again.

I get the following Nginx message if I try to login with the app:
[12/Jul/2019:14:20:49 +0200] "GET /api/v1/accounts?type=asset&page=1 HTTP/2.0" 200 1961 "-" "xyz.hisname.fireflyiii

I have:

  • a fresh installation (under https://sub.doma.in) for personal usage (= 1 user)
  • configured two (fresh money) accounts
  • generated 2 "Personal Access Tokens"

Thanks and best regards!

@emansih

This comment has been minimized.

Copy link
Owner

commented Jul 12, 2019

Thanks for bringing up this issue. (af12577) Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.