question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Helm tool installer: Unexpected end of JSON input

See original GitHub issue

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Environment

  • Server - Azure Pipelines

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

account name: scan2lead team project name: scan2lead build definition number: 13

  • Agent - Hosted or Private: both

Issue Description

The task “Helm tool installer” randomly fails during build and deployment with the error message

Unhandled: Unexpected end of JSON input
Unhandled: Unexpected end of JSON input

image

We still don’t know why this problem exist but we guess it’s about checking and downloading for the latest version of helm.

That’s the setup of the task:

image

Task logs

This is the same build but with debug enabled with a big load of information. 15_Install Helm 2.8.2.txt

Error logs

2018-10-02T13:39:22.9502773Z ##[section]Starting: Install Helm 2.8.2
2018-10-02T13:39:22.9507904Z ==============================================================================
2018-10-02T13:39:22.9508274Z Task         : Helm tool installer
2018-10-02T13:39:22.9508457Z Description  : Install Helm and Kubernetes on agent machine.
2018-10-02T13:39:22.9508627Z Version      : 0.1.8
2018-10-02T13:39:22.9508771Z Author       : Microsoft Corporation
2018-10-02T13:39:22.9508963Z Help         : [More Information](https://go.microsoft.com/fwlink/?linkid=851275)
2018-10-02T13:39:22.9509178Z ==============================================================================
2018-10-02T13:39:23.9530233Z ##[error]Unhandled: Unexpected end of JSON input
2018-10-02T13:39:23.9541727Z ##[error]Unhandled: Unexpected end of JSON input
2018-10-02T13:39:23.9600401Z ##[section]Finishing: Install Helm 2.8.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
vithaticommented, Nov 8, 2018

@SeriousM , I have verified.,fix deployed to your account region yesterday. You can see “Version : 0.1.10” Helm installer task logs. Can you try now and let us know if you faces same issue.

1reaction
bansalaseemcommented, Nov 13, 2018

No, currently there is no way to see the release ETAs for your region and secondly dark mode should be now available on your account as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Helm tool installer: Unexpected end of JSON input #8469
The task "Helm tool installer" randomly fails during build and deployment with the error message. Unhandled: Unexpected end of JSON input ...
Read more >
Azure pipeline Unexpected end of JSON input - Stack Overflow
As far as I know, this error means that a user is trying to parse a response in a wrong way or there...
Read more >
CloudFoundry: CLI error, unexpected end of JSON input
If you receive this error upon trying to run commands from the CloudFoundry CLI: "Error read/writing config: unexpected end of JSON input".
Read more >
Project import errors – Support Portal | Snyk
While importing a project into the Snyk console, you may sometimes encounter an error; for example: Some common errors and suggested...
Read more >
Cluster Install - Run:ai Documentation Library
Below are instructions on how to install a Run:ai cluster. ... Download a Helm values YAML file runai-<cluster-name>.yaml; (Optional) customize the values ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found