mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2026-04-27 00:25:50 +03:00
[GH-ISSUE #93] API Error 404: Not Found #53
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
question
upstream
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsedit#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @emilstahl on GitHub (Jun 21, 2016).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/93
I'm getting this error.
API Error 404: Not FoundHow can I debug?
@tuxis-ie commented on GitHub (Jun 21, 2016):
Probably by setting the correct api path values?
@emilstahl commented on GitHub (Jun 21, 2016):
@tuxis-ie I don't see anything about paths in the config? I entered the correct IP and API version.
@tuxis-ie commented on GitHub (Jun 21, 2016):
Which version are you running? Are you running a simple setup? Can you reach the Api manually?
@emilstahl commented on GitHub (Jun 21, 2016):
@tuxis-ie I set
$apisid =to the server-id configured in pdns.confI just tried changing it back to localhost and it works. 👍
@emilstahl commented on GitHub (Jun 21, 2016):
I can see the zones now, however when I click on the records icon, I get the 404 error.
@mschirrmeister commented on GitHub (Jul 20, 2016):
I am seeing the same error when I try to click the records button for a zone.
Yes, I can call the api manually just fine.
I set
$apiversto 1.I looked at the actual URI that it uses when I get the error and the code is constructing a wrong URI. The URI looks something like this
/api/v1api/v1/servers/.....So it is appending
api/v1somewhere in the code. I was not able to figure out where it is doing this. But I think this is the problem.@tuxis-ie commented on GitHub (Jul 20, 2016):
Which version of pdns?
@mschirrmeister commented on GitHub (Jul 20, 2016):
4.0.0 from https://repo.powerdns.com/centos/x86_64/7/auth-40/ and nsedit here from the master branch.
@tuxis-ie commented on GitHub (Jul 20, 2016):
There is some (or a lot?) of work todo to support 4.0 like we should. I didn't have time nor need to do so, and now I just don't have the time.
So help is appreciated in improving nsedit.
@luckyraul commented on GitHub (Aug 1, 2016):
I have only notices prefix
api/v1/beetween old and new urls. So It can be not a such trouble.@tuxis-ie commented on GitHub (Aug 3, 2016):
No. They changed a lot more. Including the fact that records are no longer rrsets, but part of rrsets.
Anyway, I'm working on v1.0 for nsedit, making it ready for 4.0 and prettier to use and read the code.
@luckyraul commented on GitHub (Aug 3, 2016):
@tuxis-ie Do you have a approximate schedule for this release ?
@tuxis-ie commented on GitHub (Aug 3, 2016):
I'm working on it, and it starts looking like something. See https://github.com/tuxis-ie/nsedit/tree/pdns-40
@tuxis-ie commented on GitHub (Aug 4, 2016):
This should be #73. Closing this one, keeping #73 in the loop.
@tuxis-ie commented on GitHub (Aug 5, 2016):
Please note: https://github.com/tuxis-ie/nsedit/releases/tag/v1.0
@mikaelz commented on GitHub (Sep 4, 2018):
Adding
api=yesto pdns.conf solved the issue