- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
06-18-2013 08:29 PM
Getting internal server error when using panxapi (both perl and python version). Anybody have any idea why?
anonymous:~$ panxapi -sxr /config/devices/entry/vsys/entry/zone
show: LWP::UserAgent: 500 Internal Server Error
anonymous:~$
anonymous:~$
anonymous:~$ panxapi -sxr "/config/devices/entry/vsys/entry/zone"
show: LWP::UserAgent: 500 Internal Server Error
anonymous:~$
anonymous:~$ panxapi.py -sxr /config/devices/entry/vsys/entry/zone
show: URLError(reason): Internal Server Error
anonymous:~$
anonymous:~$
anonymous:~$ panxapi.py -sxr "/config/devices/entry/vsys/entry/zone"
show: URLError(reason): Internal Server Error
anonymous:~$
06-26-2013 03:34 PM
I would guess it happens with curl also?
$ KEY='cBwvtXHyrHp9EkOmJ/3PxYV5QG9XiMEsJRoBMhhh1Vw='
$ XPATH=/config/devices/entry/vsys/entry/zone
$ HOST=172.29.9.253
$ curl -k "https://$HOST/api/?type=config&action=show&key=$KEY&xpath=$XPATH"
you could try to tail these logs while performing the request to see if
anything useful shows up. I would log a case if something obvious isn't
seen.
mp-log ms.log
mp-log php.debug.log
mp-log appWeb.log
webserver-log error.log
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!