tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
197 stars 56 forks source link

An error occured while communicating to the server. #177

Open marsark opened 6 years ago

marsark commented 6 years ago

Hi, I'm trying to setup nsedit with PowerDNS 4.1.1 server. Server API is configured a nsedit client part also. But I still get "An error occurred while communicating to the server." error when logging in to the application.

Could you suggest me a way how to debug connection between nsedit and server? I'm able to access API directly from command line using curl, and it works OK.

tuxis-ie commented 6 years ago

After logging in, the call the jtable plugin does is $url/zones.php?action=list

That output should be valid json, but probably isn't.

marsark commented 6 years ago

I checked it some JSON validator. Output of this request is a valid json.