Rover is failing to download the supergraph plugin

When rover supergraph compose ... is run

It produces this error

downloading the 'supergraph' plugin from https://rover.apollo.dev/tar/supergraph/x86_64-apple-darwin/v2.3.1
error: error decoding response body: operation timed out

When I tried download from https://rover.apollo.dev/tar/supergraph/x86_64-apple-darwin/v2.3.1 url manually, it works.

  1. Retry the download: It’s possible that the timeout issue was a temporary problem. Wait a few minutes and try the download again.
  2. Verify the download URL: Make sure the download URL in the error message is correct. If the URL is incorrect or has been changed, you’ll need to update it accordingly.
  3. Check for Rover CLI updates: Ensure that you are using the latest version of the Rover CLI by running rover update check. If there’s a newer version available, update the CLI using rover update install.

When I download from the url works always works fine. When rover downloads it, it sometimes fails.

Facing same issue, this morning. Up untill yesterday evening same command was working fine. Also

`rover dev --url ` `http://localhost:8080` ` --name User`
`downloading the 'router' plugin from ` `https://rover.apollo.dev/tar/router/x86_64-apple-darwin/latest-plugin`
`error: error decoding response body: operation timed out`

Also if i go to above url mentioned. I am able to download

router-v1.15.1-x86_64-apple-darwin.tar.gz

file manually every time. there is no issue of firewall or proxies or anything.

Just out of the blue started happening to me (rover version 0.14.2). Everything was working fine and suddenly time outs.

downloading the 'supergraph' plugin from https://rover.apollo.dev/tar/supergraph/x86_64-unknown-linux-gnu/v2.4.7
error: error decoding response body: operation timed out

I can download the file from the URL manually without a problem.

Is there a solution or workaround for this issue? It’s very frustrating since this problem re-occurs over and over.

@Edit I’ve ended up downloading the plugin manually as ~/.rover/bin/supergraph-v2.4.7. The rover itself is unable to download the file.

@Edit 2: I’ve managed to fix the issue with --client-timeout parameter. It would be helpful if the information about this option was included in the error message.