Jenkins Git Parameter Plugin not listing tags

I get build time out timeout error when git parameter plugin is trying to list tags in a git repo. As the build has versioning enabled, The listing of build tags is important so that it can help to checkout to a specific tag if something goes wrong or can decide on whether to increment to a new build tag. So, This issue happens before build is started. I tried to obtain git tags manually inside jenkins in ubuntu, which works perfectly fine. Now I wonder what goes wrong in UI as I can’t find any logs specific to working of a plugin (in my case git parameter plugin). I would like to see if there is a better way to debug this issue better , to either have some logs after the jobs are selected , when the git parameter plugin working in background , trying to fetch the git references before the build is triggered.

Currently, Since its not listing any tags, only build can be performed with default build tag set.

Jenkins setup:

Jenkins: 2.346.1
OS: Linux - 4.4.0-1128-aws
Java: 1.8.0_292 - Private Build (OpenJDK 64-Bit Server VM)
---
ace-editor:1.1
ant:481.v7b_09e538fcca
antisamy-markup-formatter:159.v25b_c67cd35fb_
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
bootstrap5-api:5.2.0-1
bouncycastle-api:2.27
branch-api:2.1051.v9985666b_f6cc
build-timeout:1.24
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.7.5
cloudbees-folder:6.740.ve4f4ffa_dea_54
command-launcher:1.2
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-27.vb_fa_3896786a_7
configuration-as-code:1569.vb_72405b_80249
credentials:1143.vb_e8b_b_ceee347
credentials-binding:523.vd859a_4b_122e6
dashboard-view:2.466.vdfefd95a_b_f8d
disk-usage:0.28
display-url-api:2.3.6
durable-task:507.v050055d0cb_dd
echarts-api:5.3.3-1
email-ext:2.92
environment-script:1.2.6
font-awesome-api:6.1.2-1
git:4.11.5
git-client:3.12.4
git-parameter:0.9.18
git-server:1.11
gitlab-api:5.1.0-84.v491924123a_f7
gitlab-branch-source:650.va_d1ce6d01959
gitlab-oauth:1.16
gitlab-plugin:1.5.36
gradle:2.9
handlebars:3.0.8
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
ionicons-api:31.v4757b_6987003
jackson2-api:2.14.1-313.v504cdd45c18b
jakarta-activation-api:2.0.1-2
jakarta-mail-api:2.0.1-2
javax-activation-api:1.2.0-5
javax-mail-api:1.6.2-5
jaxb:2.3.7-1
jdk-tool:63.v62d2fd4b_4793
jersey2-api:2.37-1
jjwt-api:0.11.5-77.v646c772fddb_0
jquery3-api:3.6.1-1
jsch:0.2.8-65.v052c39de79b_2
junit:1144.v909f4d9978e8
ldap:659.v8ca_b_a_fe79fa_d
lockable-resources:2.18
mailer:435.438.v5b_81173f5b_a_1
matrix-auth:3.1.5
matrix-project:772.v494f19991984
momentjs:1.1.1
okhttp-api:4.9.3-108.v0feda04578cf
pam-auth:1.10
pipeline-build-step:488.v8993df156e8d
pipeline-github-lib:38.v445716ea_edda_
pipeline-graph-analysis:202.va_d268e64deb_3
pipeline-groovy-lib:613.v9c41a_160233f
pipeline-input-step:466.v6d0a_5df34f81
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2121.vd87fb_6536d1e
pipeline-model-definition:2.2121.vd87fb_6536d1e
pipeline-model-extensions:2.2121.vd87fb_6536d1e
pipeline-rest-api:2.28
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2121.vd87fb_6536d1e
pipeline-stage-view:2.28
plain-credentials:143.v1b_df8b_d3b_e48
plugin-util-api:2.17.0
popper-api:1.16.1-3
popper2-api:2.11.6-1
resource-disposer:0.20
scm-api:631.v9143df5b_e4a_a
script-security:1218.v39ca_7f7ed0a_c
semantic-versioning-plugin:1.15
snakeyaml-api:1.33-90.v80dcb_3814d35
ssh-agent:333.v878b_53c89511
ssh-credentials:277.280.v1e86b_7d0056b_
ssh-slaves:1.821.vd834f8a_c390e
sshd:3.1.0
structs:324.va_f5d6774f3a_d
timestamper:1.21
token-macro:321.vd7cc1f2a_52c8
trilead-api:1.67.vc3938a_35172f
variant:59.vf075fe829ccb
workflow-aggregator:596.v8c21c963d92d
workflow-api:1200.v8005c684b_a_c6
workflow-basic-steps:994.vd57e3ca_46d24
workflow-cps:2803.v1a_f77ffcc773
workflow-durable-task-step:1210.va_1e5d77e122b
workflow-job:1207.1209.v69351208a_5a_7
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:408.v7d5b_135a_b_d49
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:839.v35e2736cfd5c
ws-cleanup:0.43