Unable to access Panorama with error "Timed out while getting config lock. Please try again"
3716
Created On 10/03/22 14:26 PM - Last Modified 06/25/25 03:02 AM
Symptom
- Unable to access the Panorama WebUI or CLI.
- Error message: "Timed out while getting config lock. Please try again". is seen
- From the "/var/log/pan/configd.log", you can see errors as below:
Error: pan_cfg_engine_take_rwlock(pan_cfg_engine.c:937): CONFIG_LOCK: read lock TIMEDOUT for cmd: show_devices_all
Error: pan_cfg_engine_take_rwlock(pan_cfg_engine.c:937): CONFIG_LOCK: read lock TIMEDOUT for cmd: show_devices_allEnvironment
- Any Panorama
- PAN-OS 10.1 or 10.2.
Cause
- Possible issue due to PAN-185787 , which is fixed in PAN-OS 10.1.7 and 10.2.3.
- PAN-185787: Fixed an issue where logging in to the Panorama web interface did not work and the following error message displayed: Timed out while getting config lock. Please try again
Resolution
Upgrade the PAN-OS to 10.1.7 or 10.2.3 (or higher) versions to resolve the issue.
Additional Information
From the file "/var/log/pan/config_lock.log", you see similar functions as the ones below:
Thread 272 (Thread 0x7fd00fedb700 (LWP 13299)):
#0 0x00007fd0332657ab in __libc_recv (fd=11, buf=buf@entry=0x561552884be2, n=n@entry=28, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33
#1 0x00007fd02b46dabb in recv (__flags=0, __n=28, __buf=0x561552884be2, __fd=<optimized out>) at /usr/include/bits/socket2.h:44
#2 mongo_env_read_socket (conn=conn@entry=0x5614cda58c08, buf=buf@entry=0x561552884b74, len=28, len@entry=138) at env.c:254