getmyancestors icon indicating copy to clipboard operation
getmyancestors copied to clipboard

Invalid auth request

Open jrleeTS opened this issue 9 months ago • 8 comments

Steps to reproduce:
type fstogedcom in linux command window enter familysearch userid in GUI window enter familysearch password in GUI window click 'sign in' button (sometimes) it will allow entry of parameters into next GUI window, and will perform a few iterations but then it gets stuck repeating:

Current behavior:
[2024-04-27 17:20:28]: Downloading: https://www.familysearch.org/auth/familysearch/login [2024-04-27 17:20:29]: Downloading: https://ident.familysearch.org/login [2024-04-27 17:20:29]: Invalid auth request [2024-04-27 17:20:29]: Downloading: https://www.familysearch.org/auth/familysearch/login [2024-04-27 17:20:30]: Downloading: https://ident.familysearch.org/login [2024-04-27 17:20:30]: Invalid auth request . . .

Expected behavior:
generate gedcom file

Corresponding Familysearch link (optional):

Note: fstogedcom worked fine for me when I last used it (same installation) two weeks ago as well as always before. This is a new problem as of yesterday. version 1.0.5. I suspect the problem is with ' https://ident.familysearch.org/login ' as that appears before the 'Invalid auth request ' message and does not appear to be a valid URL--but that's just a guess.

Thanks!

jrleeTS avatar Apr 27 '24 22:04 jrleeTS

I'm seeing the same thing. I had a session going which never finished so stopped it and am now seeing this behavior.

[2024-04-28 14:49:09]: Downloading: https://www.familysearch.org/auth/familysearch/login [2024-04-28 14:49:09]: Downloading: https://ident.familysearch.org/login [2024-04-28 14:49:10]: Invalid auth request [2024-04-28 14:49:10]: Downloading: https://www.familysearch.org/auth/familysearch/login [2024-04-28 14:49:10]: Downloading: https://ident.familysearch.org/login [2024-04-28 14:49:10]: Invalid auth request

I can login to familysearch and don't have any messages from administrators so the account looks fine. I didn't have logging turned on when it didn't complete but suspect this is what happened. The app will not even start downloading now. The only difference in my situation is that I'm using getmyancestors directly and not via fstogedcom.

[edit] I might have been premature in my thinking that the account looked fine. Technically the account is fine but their system has completely blocked the IP address I was using from their website login page. This happened a day after reporting here with no further run attempts of getmyancestors script set originally at 6 ancestors and 3 descendant levels. Any other source IP address allows for a normal login though. I don't know if the original script triggered the security system creating the invalid auth requests or if the invalid auth requests triggered the IP ban but suspect the events are related. The IP block message is Error 15 access denied.

mlcarson avatar Apr 28 '24 19:04 mlcarson

Do you think this is something that could be fixed by sleeping in between requests to prevent this kind of ban?

johnleuner avatar May 10 '24 12:05 johnleuner

Familysearch added an anti-bot detector, I don't currently have a solution. I don't think sleeping between requests is a solution.

Linekio avatar May 10 '24 13:05 Linekio

This app was awesome and did exactly what I wanted before the anti-bot detector. Now the only way of getting the same information is via rootslink and a ton of manual download requests assuming I wanted 3 gen of descendants and 6 ancestors.

They allow the following: 3 gen of descendants with 0 gen ancestors 2 gen of descendants with 2 gen ancestors 1 gen of descendants with 4 gen ancestors

I only wanted the gedcom for posting to Ancestry to assist with Thrulines and DNA matching but I'll probably just settle for a Rootslink option that's the most time efficient.

mlcarson avatar May 10 '24 16:05 mlcarson

However, after getting the error "Invalid auth request", it worked again for me after a few hours of waiting.

Linekio avatar May 11 '24 07:05 Linekio

On the basis of your last posting, Linkio, I tried fstogedcom again. Once again it failed, but I have taken a closer look at the diagnostic output. What I find is that things are going well until we get to an attempt to access 'memories' for Gxxx-xxB which returns an HTTP 401 'Unauthorized' code. When that happens fstogedcom appears to get logged out and then logs back in and attempts to repeat the process. After fourteen (14) attempts the diagnostic output begins repeating the lines I initially posted which includes the 'Invalid auth request' line.

I have some experience coding, but I am not fluent in the processes going on here.

BTAIM, when I type (Ancestor ID obfuscated):

https://www.familysearch.org/platform/tree/persons/Gxxx-xxB/sources

I get a valid page with source. OTOH, when I type:

https://www.familysearch.org/platform/tree/persons/Gxxx-xxB/memories

I get '401 Unauthorized -'

It seems to me that fstogedcom is asking for something that familysearch.org does not have:

https://www.familysearch.org/platform/tree/persons/Gxxx-xxB/memories

I think this is the relevant diagnostic output:

[2024-05-11 10:56:29]: Downloading: /platform/users/current [2024-05-11 10:56:29]: Status code: 200 [2024-05-11 10:56:29]: Downloading: /platform/tree/persons/Gxxx-xxB/memories [2024-05-11 10:56:29]: Status code: 401 [2024-05-11 10:56:29]: Downloading: https://www.familysearch.org/auth/familysearch/login [2024-05-11 10:56:30]: Downloading: https://ident.familysearch.org/login

BTAIM, Gxxx-xxB has 'memories', two (2) obituariries at https://www.familysearch.org/tree/person/memories/Gxxx-xxB

jrleeTS avatar May 11 '24 16:05 jrleeTS

This is the best software for FamilySearch out there. It allows you find and fix all errors across the entire gedcom.

I was able to download a gedcom with 2739 people seven different times today. I get some error with memories too! Hope this summary helps.

13 HTTPError 5710 Status code: 200 3735 Status code: 204 13 Status code: 403 1 Status code: 404 1 WARNING: /platform/memories/memories/45809817 1 WARNING: code 403 from /platform/memories/memories/130595526 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595551 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595566 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595586 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595592 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595596 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595599 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/130595620 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/169860928 Failure in upstream call: Unable to read artifact description. (upstream 403) 1 WARNING: code 403 from /platform/memories/memories/60077286 Failure in upstream call: Unable to read artifact description. (upstream 403) 3 WARNING: code 403 from /platform/memories/memories/9163727 Failure in upstream call: Unable to read artifact description. (upstream 403)

tsesani avatar May 11 '24 22:05 tsesani

It's the best software out there until it gets you banned.

mlcarson avatar May 12 '24 02:05 mlcarson