Skip to content

"Error while logging in: Exiting." #11

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

Closed
NichSchlagen opened this issue Jul 20, 2021 · 5 comments
Closed

"Error while logging in: Exiting." #11

NichSchlagen opened this issue Jul 20, 2021 · 5 comments

Comments

@NichSchlagen
Copy link

Hallo,

jedes Mal, wenn ich das Script ausführe bekomme ich diesen Fehler:

"[ERROR] Error while logging in: Exiting."

Die Customer-Nummer ist korrekt, der API Key und das Passwort auch.
Woran kann es liegen?

Mit freundlichen Grüßen
Tim

@seanlucakrueger
Copy link

Moin,
bei mir kommt auch so eine Fehlermeldung. Woran könnte das liegen? Ich mach ja nur eine Request oder?
Genaue Fehlermeldung:


[2021/08/22 21:09:56 +0200][ERROR] Error while logging in: More than 180 requests per minute. Please wait and retry later. Please contact our customer service to find out if the limitation of requests can be increased. Exiting.


Mit freundlichen Grüßen
Sean Luca

@tojo2503
Copy link

tojo2503 commented Sep 4, 2021

Hi,

I can second @NichtSchlagen.
I also get the error:

"[ERROR] Error while logging in: Exiting."

Nothing changed on my side and double checked API password and API key.
Did netcup change something?

Thanks a lot for your work!

edit: sorry. That was my mistake. Something was wrong with my DNS service on my server, therefore I got the error. Everything is working as expected now. Thanks!

@stecklars
Copy link
Owner

@seanlucakrueger Der Fehler resultiert ziemlich sicher aus falscher Kundennummer / API-Key / API-Passwort. Bitte das nochmal gründlich prüfen.

@tojo2503 Good to know that you found a solution.

@NichSchlagen Did you also find a solution so far? Otherwise, please add

var_dump($result);

before line 139 in functions.php (outputStderr(sprintf("Error while logging in: %s Exiting.", $result['longmessage']));) so that it looks like this:

var_dump($result);
outputStderr(sprintf("Error while logging in: %s Exiting.", $result['longmessage']));

Then run update.php again, you should get more (debugging) output. Is the error visible there?

@xXValiXx
Copy link

xXValiXx commented Sep 6, 2021

@stecklars

I tested it today with that error. I added the var_dump and its saying "NULL"

image

Problem Solved!

The Docker Container i have used, has no real time. So the Script does not work correctly.

My bad Sorry.

@stecklars
Copy link
Owner

stecklars commented Sep 9, 2021

Error messages for cURL / HTTP errors will now be displayed (fixed in commit 6a992c4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants