Skip to content

[JENKINS-73760] Updates fail due to invalid JSON from HTTP updates.jenkins.io (HTTPS is ok) #16540

@jenkins-infra-bot

Description

@jenkins-infra-bot

Updates currently fail due to the corresponding endpoint at http://updates.jenkins-ci.org/update-center.json (redirected to https://westeurope.cloudflare.jenkins.io/dynamic-2.476/update-center.json) returning invalid JSON (first characters shown here):

updateCenter.post(
{"connectionCheckUrl":"https://www.go

Stacktrace on startup:

java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.476
at hudson.model.DownloadService.loadJSON(DownloadService.java:129)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:217)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:212)
at hudson.model.UpdateCenter.updateAllSitesNow(UpdateCenter.java:2866)
at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)


Firefox complains about this as well:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data


Originally reported by stefan6419846, imported from: Updates fail due to invalid JSON from HTTP updates.jenkins.io (HTTPS is ok)
  • assignee: basil
  • status: Closed
  • priority: Major
  • component(s): core
  • label(s): 2.479.1-fixed
  • resolution: Fixed
  • resolved: 2024-10-05T15:06:27+00:00
  • votes: 2
  • watchers: 4
  • imported: 2025-11-24
Raw content of original issue

Updates currently fail due to the corresponding endpoint at http://updates.jenkins-ci.org/update-center.json (redirected to https://westeurope.cloudflare.jenkins.io/dynamic-2.476/update-center.json) returning invalid JSON (first characters shown here):

updateCenter.post(
{"connectionCheckUrl":"https://www.go

Stacktrace on startup:

java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.476
        at hudson.model.DownloadService.loadJSON(DownloadService.java:129)
        at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:217)
        at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:212)
        at hudson.model.UpdateCenter.updateAllSitesNow(UpdateCenter.java:2866)
        at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)

Firefox complains about this as well:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
1 attachment

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions