[GH-ISSUE #132] After upgrade to latest nsedit and powerdns (v4) API Error 500 #83

Closed
opened 2026-02-28 01:20:54 +03:00 by kerem · 2 comments
Owner

Originally created by @harkx on GitHub (Nov 1, 2016).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/132

After upgrading (and correcting some records because of missing quotes etc..) I keep getting "API Error 500: Internal Server Error", the error that keeps returning in the pdns error (log/webserver) is;

HTTP ISE for "/api/v1/servers/localhost/zones": STL Exception: stou

Any idea what I'm missing here? I "think" this is a PowerDNS issue but can't figure out what's wrong so it might still be config or something.

image

Originally created by @harkx on GitHub (Nov 1, 2016). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/132 After upgrading (and correcting some records because of missing quotes etc..) I keep getting "API Error 500: Internal Server Error", the error that keeps returning in the pdns error (log/webserver) is; > HTTP ISE for "/api/v1/servers/localhost/zones": STL Exception: stou Any idea what I'm missing here? I "think" this is a PowerDNS issue but can't figure out what's wrong so it might still be config or something. ![image](https://cloud.githubusercontent.com/assets/7738282/19908582/45e5ac0c-a084-11e6-81f4-9c360abc5ba2.png)
kerem closed this issue 2026-02-28 01:20:54 +03:00
Author
Owner

@tuxis-ie commented on GitHub (Nov 1, 2016):

What does pdnsutil check-all-zones say? Usually this is because of errors in a zone, which makes the API barf.

<!-- gh-comment-id:257711381 --> @tuxis-ie commented on GitHub (Nov 1, 2016): What does pdnsutil check-all-zones say? Usually this is because of errors in a zone, which makes the API barf.
Author
Owner

@harkx commented on GitHub (Nov 1, 2016):

ns1 /etc/powerdns # pdnsutil list-all-zones -v
Nov 01 23:07:22 [bindbackend] Done parsing domains, 0 rejected, 0 new, 0 removed
Error: stou

Forgive me for opening the ticket too soon, but indeed, an incorrect SOA record caused this. after fixing that, the list-all-zones works !

Sorry for that but thanks! :) Now the api works as it should.

<!-- gh-comment-id:257714852 --> @harkx commented on GitHub (Nov 1, 2016): ``` ns1 /etc/powerdns # pdnsutil list-all-zones -v Nov 01 23:07:22 [bindbackend] Done parsing domains, 0 rejected, 0 new, 0 removed Error: stou ``` Forgive me for opening the ticket too soon, but indeed, an incorrect SOA record caused this. after fixing that, the list-all-zones works ! Sorry for that but thanks! :) Now the api works as it should.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsedit#83
No description provided.