- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-05-2021 01:28 AM - edited 05-05-2021 09:20 AM
Hello,
We have deployed a new expedition vm on aws cloud using Ubuntu Pro 16.04 LTS version.
we are getting the following error when we try to add a new api key as shown in the screenshot. we have checked all the logs under /var/log and didn't notice anything related to this.
I've found the logs below under /var/log/apache2/error.log but doesn't seem to be related.
[Tue May 04 14:43:46.783602 2021] [:error] [pid 2382] [client 172.18.118.114:58776] PHP Notice: Undefined offset: 1 in /var/www/html/libs/settings/PackageVersionChecker.php on line 79, referer: https://10.151.88.31/
Also, for information we have a second expedition VM on AWS version 1.1.95 and adding API key works fine.
Any idea about the root cause of this issue ?
Thank you
OS Version :
root@ip-10-151-88-31:/home/ubuntu# uname -a
Linux ip-10-151-88-31 4.4.0-1128-aws #142-Ubuntu SMP Fri Apr 16 12:42:33 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
03-16-2023 07:01 PM
this is most certainly a bug. I managed to work around it though.
Go to your firewall api page "https://<FW MGMT IP ADDRESS>/restapi-doc/#tag/key-generation/paths/~1api~1?type=keygen/get
Use postman (or any other api tool) to generate the API key for ADMIN user. and copy the API key that's returned.
switch to the expedition and when trying to add "Authentication API Keys" - switch the "Auth. Type:" from "username and password" to "API KEY"
Paste the API key here.
05-05-2021 08:49 AM
Hello @OUAHID
Make sure the account that is making the API request has sufficient permissions within the firewall or panorama device, also I would suggest you delete and re-add the device back in as sometimes there are issues with the initial add of a device.
05-05-2021 09:13 AM - edited 05-05-2021 09:20 AM
Hello @azuniga ,
Thank you for your response.
I've actually tried this without success.
I've actually also tried to add the API KEY that i've generated by doing a
get for the keygen, it seems that it is added , but it doesn't detect the
panorama.
05-05-2021 09:44 AM
Hello @OUAHID ,
Instead of adding in the API key for retrieval can you try to add in your admin credentials to see if it works?
05-17-2021 12:59 AM
I'll wait for version 2 to verify that the issue is resolved.
03-16-2023 06:57 PM
this is most certainly a bug. I managed to work around it though.
03-16-2023 07:01 PM
this is most certainly a bug. I managed to work around it though.
Go to your firewall api page "https://<FW MGMT IP ADDRESS>/restapi-doc/#tag/key-generation/paths/~1api~1?type=keygen/get
Use postman (or any other api tool) to generate the API key for ADMIN user. and copy the API key that's returned.
switch to the expedition and when trying to add "Authentication API Keys" - switch the "Auth. Type:" from "username and password" to "API KEY"
Paste the API key here.
03-20-2023 02:13 AM
Hello,
Thank you for your feedback.
You're right , i've resolved the issue by doing the same thing and forgot to update the topic.
Regards
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!