--- Log opened mar jun 21 00:00:09 2022 --- Log closed mar jun 21 02:05:10 2022 --- Log opened mar jun 21 02:05:23 2022 02:05 -!- Irssi: #friendica: Total of 7 nicks [0 ops, 0 halfops, 0 voices, 7 normal] 02:05 -!- Irssi: Join to #friendica was synced in 16 secs 12:30 < fikabot_> 💬 what is the expected return output when authenticating via „/api/account/verify_credentials.json“? 12:32 < fikabot_> 💬 It seems this changed in 2022.02 release 12:34 < fikabot_> 💬 per code https://git.friendi.ca/friendica/friendica/src/branch/stable/src/Module/Api/Twitter/Account/VerifyCredentials.php#L28 12:34 < fikabot_> 💬 should return "200" and info about user, or 401 on failure 12:35 < fikabot_> 💬 https://paste.debian.net/hidden/eabcbb79/ is expecting 2 bytes and fails because a complete json is returned 12:37 < fikabot_> 💬 ah, wait… 12:37 < fikabot_> 💬 it read the return code, which should be 200 or 401. it doen't check for 401, as far I can tell... 12:38 < fikabot_> 💬 (and btw line 85 is quite redundant coding :D ) 12:41 < fikabot_> 💬 well, it’s not my script… I just adopted the auth-mastodon.py script by Mike… 12:45 < fikabot_> 💬 I think it needs some work that code... 12:46 < fikabot_> 💬 I agree… 12:46 < fikabot_> 💬 sadly my Python times are like 10 years over 12:47 < fikabot_> 💬 I'll try do something but I can't test the ejabber part. I don't have any ejabber server running. 12:52 < fikabot_> 💬 /usr/local/bin/ejabberd-auth-friendica.py:36: SyntaxWarning: "is not" with a literal. Did you mean "!="? 12:53 < fikabot_> 💬 yes, you did mean. 😄 12:54 < fikabot_> 💬 File "/usr/local/bin/ejabberd-auth-friendica2.py", line 121 12:54 < fikabot_> 💬 break 12:54 < fikabot_> 💬 ^ 12:59 < fikabot_> 💬 I presume you are running python3 13:40 < fikabot_> 💬 Sure. I can compare the working ejabber part of auth-mastodon against this non-working part… at least when I‘m back on laptop 14:28 < fikabot_> 💬 ij_ try this https://paste.sr.ht/~fabrixxm/ac31332111083d78685b5490f29b63ed707466a4 14:28 < fikabot_> 💬 it start an infinite loop as per docs https://docs.ejabberd.im/developer/guide/#external 14:34 < fikabot_> 💬 fabrixxm, thanks! it’s now working again! 14:35 < fikabot_> 💬 what was the error? --- Log closed mié jun 22 00:00:11 2022