- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hello All:
While testing demo-playbook.yml, I get the following error. Any ideas as to why the response is invalid?
api status -s outout attached
[root@Ansible-Cent Playbooks]# ansible-playbook -C demo-playbook.yml
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [127.0.0.1]
TASK [login] *******************************************************************
ok: [127.0.0.1]
TASK [add host] ****************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Command 'add-host {u'name': u'host_demo_1', u'ip-address': u'1.1.1.1'}' failed with error message: APIResponse received a response which is not a valid JSON.. All changes are discarded and the session is invalidated."}
to retry, use: --limit @/root/cpAnsible/Playbooks/demo-playbook.retry
PLAY RECAP *********************************************************************
127.0.0.1 : ok=2 changed=0 unreachable=0 failed=1
From the api status output, it looks like the API server crashed for some reason.
If I had to guess, it's because you've configured this VM with only 4GB of RAM.
The stated minimum in the release notes for R80.20.M2 is 6GB of RAM.
I highly recommend more.
In my own lab, my management VM has 16GB of RAM allocated (but I'm also using SmartEvent).
From the api status output, it looks like the API server crashed for some reason.
If I had to guess, it's because you've configured this VM with only 4GB of RAM.
The stated minimum in the release notes for R80.20.M2 is 6GB of RAM.
I highly recommend more.
In my own lab, my management VM has 16GB of RAM allocated (but I'm also using SmartEvent).
Thanks Dameon:
Your guess is right, the demo mgr was setup with 4 GB ram.
While, I didn't notice spike in memory on Manager when playbook was run but after upgrading the memory to 8 GB, the error didn't occur.
Hello,
can someone please, give the commande line to upgrade max_ram in checkpoint management server,
Thanks
thanks for feedback,
actualy my appliance already have 16G of RAM, but my i still getting errors when calling checkpoint API using Ansible.
something like NGM_CPM_MAX_HEAP
this is the error i get
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Command 'add-service-tcp {u'name': u'tcp_1005', u'port': u'1005'}' failed with error message: APIResponse received a response which is not a valid JSON.. All changes are discarded and the session is invalidated."}
Regards
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 17 | |
| 15 | |
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY