# Jenkins to Jira Connection Intermittent issue

**URL:** https://community.jenkins.io/t/jenkins-to-jira-connection-intermittent-issue/18696
**Category:** Ask a question
**Tags:** question, pipeline
**Created:** [August 28, 2024, 2:45am UTC](https://community.jenkins.io/t/jenkins-to-jira-connection-intermittent-issue/18696 "2024-08-28T02:45:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gsaikumar](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@gsaikumar](https://community.jenkins.io/u/gsaikumar)
#### Post date: [August 28, 2024, 2:45am UTC](https://community.jenkins.io/t/jenkins-to-jira-connection-intermittent-issue/18696/1 "2024-08-28T02:45:59Z")

</div>

> **Jenkins setup:**
>
> ```
> Jenkins setup:
> Jenkins: 2.440.3.7
> OS: Linux - 4.18.0-553.8.1.el8_10.x86_64
> Java: 11 - Oracle Corporation (OpenJDK 64-Bit Server VM)
> ---
> JDK_Parameter_Plugin:1.0
> JiraTestResultReporter:166.v0cc6208295b5
> ace-editor:1.1
> active-directory:2.35
> acunetix:1.2.3
> ansible:1.0
> ansible-tower:0.10.0
> ansicolor:1.0.1
> ant:497.v94e7d9fffa_b_9
> antisamy-markup-formatter:162.v0e6ec0fcfcf6
> apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
> aqua-security-scanner:3.0.23
> arcad-builder:12.2.0
> arcad-builder-jenkins-plugin:2.0.5
> arcad-codechecker:12.1.1
> arcad-commons:12.2.0
> arcad-macro-execution:12.1.0
> arcad-verifier:12.1.0
> arcad.builder.execution:1.1.0.0
> asm-api:9.7-33.v4d23ef79fcc8
> async-http-client:1.7.24.3
> audit-log:1.2
> audit-trail:3.7
> authentication-tokens:1.53.v1c90fd9191a_b_
> authorize-project:1.3.0
> aws-credentials:231.v08a_59f17d742
> aws-device-farm:1.30
> aws-java-sdk:1.11.995
> aws-java-sdk-ec2:1.12.671-439.veec746c91fcb_
> aws-java-sdk-minimal:1.12.671-439.veec746c91fcb_
> azure-credentials:254.v64da_8176c83a
> azure-sdk:118.v43f74dd9ca_dc
> bitbucket:1.1.19
> bitbucket-build-status-notifier:1.4.1
> bitbucket-oauth:0.13
> bitbucket-push-and-pull-request:3.0.2
> blueocean:1.27.11
> blueocean-autofavorite:1.2.5
> blueocean-bitbucket-pipeline:1.27.11
> blueocean-commons:1.27.11
> blueocean-config:1.27.11
> blueocean-core-js:1.27.11
> blueocean-dashboard:1.27.11
> blueocean-display-url:2.4.2
> blueocean-events:1.27.11
> blueocean-git-pipeline:1.27.11
> blueocean-github-pipeline:1.27.11
> blueocean-i18n:1.27.11
> blueocean-jwt:1.27.11
> blueocean-personalization:1.27.11
> blueocean-pipeline-api-impl:1.27.11
> blueocean-pipeline-editor:1.27.11
> blueocean-pipeline-scm-api:1.27.11
> blueocean-rest:1.27.11
> blueocean-rest-impl:1.27.11
> blueocean-web:1.27.11
> bootstrap4-api:4.6.0-5
> bootstrap5-api:5.3.3-1
> bouncycastle-api:2.30.1.77-225.v26ea_c9455fd9
> branch-api:2.1152.v6f101e97dd77
> build-metrics:1.3
> build-name-setter:2.2.0
> build-pipeline-plugin:1.5.8
> build-timeout:1.32
> build-with-parameters:1.4
> ca-service-virtualization:1.0.2
> caffeine-api:3.1.8-133.v17b_1ff2e0599
> calendar-view:0.3.2
> changes-since-last-success:0.5
> checks-api:2.2.0
> cloudbees-administrative-monitors:1.0.13
> cloudbees-analytics:1.59
> cloudbees-assurance:2.276.0.35
> cloudbees-bitbucket-branch-source:848.850.v6a_a_2a_234a_c81
> cloudbees-blueocean-default-theme:0.8
> cloudbees-disk-usage-simple:170.va_fd5b_4ee6858
> cloudbees-folder:6.879.990.cb-v8176690e44b_9
> cloudbees-folders-plus:3.32
> cloudbees-github-reporting:1.772
> cloudbees-groovy-view:1.15
> cloudbees-ha:4.45
> cloudbees-jenkins-advisor:358.v58972d19b_1f0
> cloudbees-jsync-archiver:5.25
> cloudbees-license:9.80
> cloudbees-monitoring:2.17
> cloudbees-nodes-plus:1.25
> cloudbees-platform-common:1.27
> cloudbees-platform-data:1.39
> cloudbees-plugin-usage:2.21
> cloudbees-replication:1624
> cloudbees-ssh-slaves:2.25
> cloudbees-support:3.31
> cloudbees-template:4.63
> cloudbees-uc-data-api:4.59
> cloudbees-unified-ui:1.32
> cloudbees-view-creation-filter:1.9
> cloudbees-workflow-template:3.27
> cloudbees-workflow-ui:2.12
> command-launcher:107.v773860566e2e
> commons-lang3-api:3.13.0-62.v7d18e55f51e2
> commons-text-api:1.11.0-95.v22a_d30ee5d36
> conditional-buildstep:1.4.2
> config-file-provider:968.ve1ca_eb_913f8c
> contrast-continuous-application-security:3.8.1
> copyartifact:722.v0662a_9b_e22a_c
> credentials:1337.v60b_d7b_c7b_c9f
> credentials-binding:657.v2b_19db_7d6e6d
> dashboard-view:2.508.va_74654f026d1
> database:1.6
> display-url-api:2.200.vb_9327d658781
> docker-commons:439.va_3cb_0a_6a_fb_29
> docker-java-api:3.1.5.2
> docker-plugin:1.2.1
> docker-workflow:572.v950f58993843
> durable-task:550.v0930093c4b_a_6
> echarts-api:5.5.0-1
> eggplant-plugin:2.2
> email-ext:2.105
> envinject:2.1.6
> envinject-api:1.5
> extended-read-permission:3.2
> external-monitor-job:192.ve979ca_8b_3ccd
> favorite:2.208.v91d65b_7792a_c
> flyway-runner:1.9
> font-awesome-api:6.5.1-3
> git:5.2.1
> git-client:4.7.0
> git-server:114.v068a_c7cc2574
> github:1.38.0
> github-api:1.318-461.v7a_c09c9fa_d63
> github-branch-source:1785.v99802b_69816c
> gitlab-api:5.3.0-91.v1f9a_fda_d654f
> gitlab-branch-source:703.vc5fd7effcc6b_
> global-build-stats:1.5
> gradle:2.10
> groovy:2.0
> gson-api:2.10.1-15.v0d99f670e0a_7
> handlebars:3.0.8
> handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
> heavy-job:1.1
> hp-application-automation-tools-plugin:5.8
> htmlpublisher:1.33
> http_request:1.8.23
> ibm-ucdeploy-build-steps:2.15.dev
> infradna-backup:3.38.74
> instance-identity:185.v303dc7c645f9
> ionicons-api:70.v2959a_b_74e3cf
> jackson2-api:2.17.0-379.v02de8ec9f64c
> jacoco:3.3.5
> jakarta-activation-api:2.1.3-1
> jakarta-mail-api:2.1.3-1
> javadoc:243.vb_b_503b_b_45537
> javax-activation-api:1.2.0-6
> javax-mail-api:1.6.2-9
> jaxb:2.3.9-1
> jdk-tool:73.vddf737284550
> jenkins-design-language:1.27.11
> jersey2-api:2.42-147.va_28a_44603b_d5
> jira:3.13
> jira-steps:2.0.165.v8846cf59f3db
> jira-trigger:1.0.1
> jjwt-api:0.11.5-112.ve82dfb_224b_a_d
> job-dsl:1.83
> jobConfigHistory:1176.v1b_4290db_41a_5
> joda-time-api:2.12.7-29.v5a_b_e3a_82269a_
> jquery:1.12.4-1
> jquery-detached:1.2.1
> jquery-ui:1.0.2
> jquery3-api:3.7.1-2
> jsch:0.2.16-86.v42e010d9484b_
> json-api:20240303-41.v94e11e6de726
> json-path-api:2.9.0-58.v62e3e85b_a_655
> junit:1265.v65b_14fa_f12f0
> kubernetes:4198.v5da_9435c6c3e
> kubernetes-client-api:6.10.0-240.v57880ce8b_0b_2
> kubernetes-credentials:0.11
> ldap:719.vcb_d039b_77d0d
> lockable-resources:2.5
> mail-watcher-plugin:1.16
> mailer:472.vf7c289a_4b_420
> mapdb-api:1.0.9-40.v58107308b_7a_7
> mask-passwords:3.0
> matrix-auth:3.2.2
> matrix-project:822.824.v14451b_c0fd42
> maven-plugin:3.23
> mercurial:2.16
> metrics:4.2.21-449.v6960d7c54c69
> micro-focus-performance-center-integration:1.1.1
> mina-sshd-api-common:2.12.1-101.v85b_e08b_780dd
> mina-sshd-api-core:2.12.1-101.v85b_e08b_780dd
> mina-sshd-api-scp:2.12.1-101.v85b_e08b_780dd
> mina-sshd-api-sftp:2.12.1-101.v85b_e08b_780dd
> momentjs:1.1.1
> monitoring:1.90.0
> multiple-scms:0.6
> nectar-license:8.43
> nectar-rbac:5.91
> nexus-artifact-uploader:2.10
> nexus-jenkins-plugin:3.5.20190313-114450.3bfee7f
> node-iterator-api:55.v3b_77d4032326
> nodejs:1.6.1
> okhttp-api:4.11.0-172.vda_da_1feeb_c6e
> openshift-client:1.0.30
> openshift-login:1.0.16
> opentelemetry:2.16.0
> operations-center-agent:3.26950
> operations-center-client:3.26950
> operations-center-cloud:3.26950
> operations-center-context:3.26950
> pam-auth:1.10
> parameterized-scheduler:0.9.2
> parameterized-trigger:2.46
> performance:3.18
> pipeline-build-step:540.vb_e8849e1a_b_d8
> pipeline-graph-analysis:216.vfd8b_ece330ca_
> pipeline-groovy-lib:704.vc58b_8890a_384
> pipeline-input-step:491.vb_07d21da_1a_fb_
> pipeline-milestone-step:119.vdfdc43fc3b_9a_
> pipeline-model-api:2.2184.v0b_358b_953e69
> pipeline-model-declarative-agent:1.1.1
> pipeline-model-definition:2.2184.v0b_358b_953e69
> pipeline-model-extensions:2.2184.v0b_358b_953e69
> pipeline-multibranch-defaults:2.1
> pipeline-rest-api:2.34
> pipeline-stage-step:312.v8cd10304c27a_
> pipeline-stage-tags-metadata:2.2184.v0b_358b_953e69
> pipeline-stage-view:2.34
> pipeline-utility-steps:2.16.1
> plain-credentials:179.vc5cb_98f6db_38
> plot:2.1.12
> plugin-util-api:4.1.0
> popper-api:1.16.1-3
> popper2-api:2.11.6-4
> prisma-cloud-jenkins-plugin:20.09.365
> prometheus:2.0.7
> protecode-sc:0.18.1
> publish-over:0.22
> publish-over-ftp:1.15
> pubsub-light:1.18
> purge-build-queue-plugin:1.0
> pyenv-pipeline:2.1.2
> python:1.3
> repository-connector:1.2.5
> resource-disposer:0.12
> role-strategy:633.v836e5b_3e80a_5
> run-condition:1.5
> scm-api:689.v237b_6d3a_ef7f
> script-security:1326.vdb_c154de8669
> snakeyaml-api:2.2-111.vc6598e30cc65
> sonar:2.15
> sqlplus-script-runner:2.0.8
> sse-gateway:1.26
> ssh-credentials:337.v395d2403ccd4
> ssh-slaves:2.948.vb_8050d697fec
> ssh-steps:2.0.0
> sshd:3.322.v159e91f6a_550
> startup-trigger-plugin:2.9.4
> structs:337.v1b_04ea_4df7c8
> support-core:1421.v1a_899a_c02a_54
> testng-plugin:1.15
> throttle-concurrents:2.13
> timestamper:1.26
> token-macro:400.v35420b_922dcb_
> trilead-api:2.142.v748523a_76693
> unique-id:2.101.v21a_b_6390a_b_04
> user-activity-monitoring:1.18
> variant:60.v7290fc0eb_b_cd
> view-job-filters:2.3
> webhook-eventsource:0.0.1
> windows-slaves:1.8.1
> workflow-aggregator:596.v8c21c963d92d
> workflow-api:1291.v51fd2a_625da_7
> workflow-basic-steps:1049.v257a_e6b_30fb_d
> workflow-cps:3894.vd0f0248b_a_fc4
> workflow-cps-checkpoint:2.17
> workflow-cps-global-lib:588.v576c103a_ff86
> workflow-durable-task-step:1336.v768003e07199
> workflow-job:1400.v7fd111b_ec82f
> workflow-multibranch:773.vc4fe1378f1d5
> workflow-scm-step:427.v4ca_6512e7df1
> workflow-step-api:657.v03b_e8115821b_
> workflow-support:896.v175a_a_9c5b_78f
> ws-cleanup:0.37
> xvfb:1.1.3
> zephyr-enterprise-test-management:1.6
> zephyr-for-jira-test-management:1.5
> ```

Hello,  
Your help is much appreciated in the below issue.

Issue : Jenkins Pipeline Intermittently cannot connect to Jira, to issue/edit issue/Update Comment we occasionally(4 out 10 times) getting Error Message: Hostname [jira.uat.ocbc.com](http://jira.uat.ocbc.com) not verified (no certificates)

Few months back we started seeing this issue when we moved from Jira server(1 application server) to the Jira Data Center( 3 application servers). So Jira DNS which used to connect to app server directly now have the load balancer which routes traffic to 3 nodes in the backend.

Having said that, we didn’t make any change in Jenkins we use the same Jira plugins and our Jenkins pipeline uses plugin functions to read or update Jira tickets.  
But Intermittently in the pipeline we see below error:  
4:16:11 [Pipeline] jiraGetIssue  
14:16:11 JIRA: Site - OCBC\_JIRA - Querying issue with idOrKey: ABCD-1055  
14:16:11 Error Code: -1  
14:16:11 Error Message: Hostname jira . xxx .com not verified (no certificates)  
14:16:11 [Pipeline] }  
14:16:15 ERROR: Hostname [jira.xxx.com](http://jira.xxx.com) not verified (no certificates)  
14:16:15 Finished: FAILURE

In our pipeline we added the retry logic to mitigate this issue as mostly the issue gets resolved once/twice we retry, lately we are seeing more such failures of pipelines due to Jira step failures hence want to take your help in understanding the root cause of the issue.

let us know if you need any more details.

Thanks in advance.

Regards  
Sai Kumar
