SpriteLink / NIPAP

Neat IP Address Planner - NIPAP is the best open source IPAM in the known universe, challenging classical IP address management (IPAM) systems in many areas.
https://spritelink.github.io/NIPAP/
MIT License
524 stars 132 forks source link

404 not found, am i doing somethign wrong #1375

Open zoellerG opened 2 months ago

zoellerG commented 2 months ago

Hi everyone,

currently did a fresh install using the guide and e diting the 000-default in the apache server. however it's not really working, here are the logs

[Wed Apr 24 21:55:52.891237 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] smart_result = xmlrpc.connection.smart_search_vrf(, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891241 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] File "/usr/lib/python3.10/xmlrpc/client.py", line 1122, in call, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891244 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] return self.send(self.name, args), referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891249 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] File "/usr/lib/python3.10/xmlrpc/client.py", line 1464, in request, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891252 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] response = self.transport.request(, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891255 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] File "/usr/lib/python3.10/xmlrpc/client.py", line 1166, in request, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891259 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] return self.single_request(host, handler, request_body, verbose), referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891264 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] File "/usr/lib/python3.10/xmlrpc/client.py", line 1196, in single_request, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891266 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] raise ProtocolError(, referer: http://192.168.1.146/ng/vrf [Wed Apr 24 21:55:52.891279 2024] [wsgi:error] [pid 8958:tid 140262013658688] [client 192.168.1.108:1132] xmlrpc.client.ProtocolError: <ProtocolError for badmin@local:Spongebob@127.0.0.1:80/RPC2: 404 NOT FOUND>, referer: http://192.168.1.146/ng/vrf

what could be going on, not that deep into the linux mumbo jumbo yet

garberg commented 1 month ago

It seems the WWW UI tries to reach the backend service at 127.0.0.1:80 - is it really listening to port 80? The listening address of the backend service is defined in nipap.conf, "port" in the section [nipapd]. The URL the WWW UI uses to reach the backend is also configured in nipap.conf, "xmlrpc_uri" in the section [www]. Do they match?