# Webhook Server Unreachable

**URL:** <https://community.sonarsource.com/t/webhook-server-unreachable/104077>\
**Category:** SonarQube Server / Community Build\
**Tags:** jenkins, webhooks\
**Created:** [November 9, 2023, 10:02am UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077 "2023-11-09T10:02:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![falcon.greatly](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/falcon.greatly/32/8754_2.png) [@falcon.greatly](https://community.sonarsource.com/u/falcon.greatly)\
**Post date:** [November 9, 2023, 10:02am UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077/1 "2023-11-09T10:02:30Z")

</div>

Hello,

I upgraded recently SonarQube version to be 8.9.10  
I was using SonaQube build breaker but after the upgrade I am forced to use the Jenkins Integration based on Webhooks.  
I am installing SonarQube on Windows Server.

I installed SonarQube plugin in Jenkins and use the recommended pipeline syntax but jenkins never receives the webhook.

```auto
stage('Build') {
    steps {
        withSonarQubeEnv('SonarQubeServer') {
            bat ''' 
                cd project
                gerritVerify.bat
            '''
        }
    }
}
stage('SonarQube Quality Gate') {
    steps {
      timeout(time: 1, unit: 'HOURS') {
        waitForQualityGate abortPipeline: true
      }
    }
}

```

` **23:38:38** Checking status of SonarQube task 'AYsgrRZ4J88fV5eZaF5b' on server 'SonarQubeServer' **23:38:38** SonarQube task 'AYsgrRZ4J88fV5eZaF5b' status is 'IN_PROGRESS' **00:38:38** Cancelling nested steps due to timeout`

 ![sonar_2](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/e/c/ecb41088ff4b005eea7f76157aca1ca2455374f7.png)  
 ![sonar_2](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/e/c/ecb41088ff4b005eea7f76157aca1ca2455374f7.png)  
The task Id is different because the image is captured in later analysis.

I can post the json file to jenkins manually using postman or curl without any problem and without any certificates.  
The problem only in SonarQube which complains that the server is unreachable also it’s reachable from curl and postman.

Also, some sites suggested to do this update but it didn’t make a difference with me.  
set “networkaddress.cache.ttl = 5” in “${JAVAHOME}/conf/security/java.security”

Any idea how to solve this SonarQube issue ?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [November 13, 2023, 3:53pm UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077/2 "2023-11-13T15:53:36Z")

</div>

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

> 8.9.10 → 9.9.2 → 10.2.1 (last step optional)

You may find these resources helpful:

- [Upgrade Guide](https://docs.sonarqube.org/latest/setup/upgrading/)
- [LTS-to-LTS Upgrade Notes for 7.9 to 8.9](https://docs.sonarqube.org/8.9/setup/lts-to-lts-upgrade-notes/)
- [LTS to LTS release upgrade notes for 8.9 to 9.9](https://docs.sonarqube.org/9.9/setup-and-upgrade/lts-to-lts-release-upgrade-notes/)

If you have questions about upgrading, feel free to open a new thread for that [here](https://community.sonarsource.com/c/sq/9-9-lts-upgrade/47).

If your error persists after upgrade, please come back to us.

---

<div class="post-metadata">

**Author:** ![falcon.greatly](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/falcon.greatly/32/8754_2.png) [@falcon.greatly](https://community.sonarsource.com/u/falcon.greatly)\
**Post date:** [November 27, 2023, 11:25pm UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077/3 "2023-11-27T23:25:44Z")

</div>

Hi,

Thanks for your response.  
I managed to update SonarQube to latest LTS version.  
 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/f/8/f82b2d5a2c8ada083d1afd6852ec8c09a77b1e6d.png)

Unfortunately, I face the same problem that the server is unreachable.

Any idea how to solve this SonarQube issue ?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [November 29, 2023, 3:07pm UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077/4 "2023-11-29T15:07:28Z")

</div>

Thanks for the update!

You should be able to learn more about the webhook delivery in the _logs/ce.log_ of your SonarQube instance after executing an analysis that submits the webhook. Can you take a look to see if you have any specific error messages (such as a certificiate problem)?

---

<div class="post-metadata">

**Author:** ![falcon.greatly](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/falcon.greatly/32/8754_2.png) [@falcon.greatly](https://community.sonarsource.com/u/falcon.greatly)\
**Post date:** [November 29, 2023, 7:43pm UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077/5 "2023-11-29T19:43:26Z")

</div>

Hi,

No problem at all logged in the ce.log file  
Webhooks | globalWebhooks=2 | projectWebhooks=0 | status=SUCCESS | time=299ms

As you can see for the same task Id, It reports Server Unreachable in SonarQube web interface and no problem logged in the attached ce.log file

[snoar\_cre.log](https://community.sonarsource.com/uploads/short-url/jxv4owBcwr815pxZrVhnjeC1WcQ.log) (9.4 KB)

 ![sonar_screenshot](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/f/a/fa4be02579e78b41abc7010a189a23104321e0a8.png)

---

<div class="post-metadata">

**Author:** ![anon67236913](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@anon67236913](https://community.sonarsource.com/u/anon67236913)\
**Post date:** [November 30, 2023, 9:42am UTC](https://community.sonarsource.com/t/webhook-server-unreachable/104077/6 "2023-11-30T09:42:15Z")

</div>

Hi,

to get some details in the ce.log for the webhook delivery you have to increase the ce loglevel (sonar.log.level.ce) to DEBUG, but don’t expect too much details.

You may increase the loglevel during runtime via https:///admin/system and edit loglevel.

Gilbert
