Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to flash from balena dashboard #3778

Closed
AndreiGr opened this issue Jun 22, 2022 · 10 comments
Closed

Failure to flash from balena dashboard #3778

AndreiGr opened this issue Jun 22, 2022 · 10 comments

Comments

@AndreiGr
Copy link

  • Etcher version: 1.5.115

  • Operating system and architecture: Windows 10 (x64)

  • Image flashed: Raspberry Pi 4

  • What do you think should have happened: After I click on the flash button in balena dashboard I expected balena etcher to open and start flashing the correct image on the disk.

  • What happened: After I click on the flash button in balena dashboard, balena etcher opens and shows the following error:
    image

  • Do you see any meaningful error information in the DevTools?
    {"stack":"Error: ENOENT: no such file or directory, open 'C:\\WINDOWS\\system32\\%7B%22method%22%3A%22POST%22%2C%22url%22%3A%22https%3A%2F%2Fapi.balena-cloud.com%2Fdownload%3FappId%3D1944541%26deviceType%3Draspberrypi4-64%26version%3D2.98.33[...]

@mcraa
Copy link
Contributor

mcraa commented Jun 23, 2022

the flash from the dashboard works with versions 1.7.8 and later

@mcraa mcraa closed this as completed Jun 23, 2022
@AndreiGr
Copy link
Author

Ok, good to know.
Do you have any idea when a newer pre-made installer will be made for Windows?

Because from what I see, the latest I can download is 1.5.115

@mcraa
Copy link
Contributor

mcraa commented Jun 23, 2022

Where do you see 1.5 as latest?

https://github.com/balena-io/etcher/releases/download/v1.7.9/balenaEtcher-Setup-1.7.9.exe
here you have the real latest from the Releases in github.
etcher.io (or balena.io/etcher) download button points to the same file.

@AndreiGr
Copy link
Author

On the main page:
image

@mcraa
Copy link
Contributor

mcraa commented Jun 23, 2022

Well, that is weird, thanks for pointing it out.

@AndreiGr
Copy link
Author

No worries. Thanks for helping me with the Releases link. I tried to find it myself, but what I found redirected me to the main page, haha.
Have a great day!

@lurch
Copy link
Contributor

lurch commented Jun 23, 2022

The Etcher website sometimes points to an old version if you have JavaScript turned off? (which has happened in several issues here previously)

EDIT: When I do view->source on the Etcher webpage, I see e.g.
<a href="https://github.com/balena-io/etcher/releases/download/v1.5.115/balenaEtcher-Setup-1.5.115.exe?" class="sc-eGCaLh bJumPh sc-ctaXho nhJDG Link__ExternalLink-sc-b3cke1-0 jipiSO Downloads__StyledLink-sc-aivfe9-1 hTrRgP" color="primary.main" rel="noopener" target="_blank"><button class="StyledButton-sc-323bzc-0 bJOxnS sc-bqyKOL sc-kstqJO cDKLTo enfjcB sc-dIUeWJ exIZyH" type="button"><div class="sc-gKseQn jFlOjP sc-iBPTik ktusrF sc-hHfuMS hjJBI"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDEzIDE3Ij4KICAgIDxnIGZpbGw9IiMyQTUwNkYiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTTYuMzggMTIuNjk2YS44OTMuODkzIDAgMCAxLS45MDMtLjg4NVYuODg2YzAtLjQ5LjQwMy0uODg1LjkwMy0uODg1cy45MDQuMzk1LjkwNC44ODVWMTEuODFjMCAuNDktLjQwMy44ODUtLjkwNC44ODUiLz4KICAgICAgICA8cGF0aCBkPSJNNi4zOCAxMy4yMzZhLjg5My44OTMgMCAwIDEtLjkwMy0uODg1YzAtLjIzNS4wOTctLjQ2LjI2NS0uNjI1bDQuNzktNC42OWEuOTEyLjkxMiAwIDAgMSAxLjI3Ny4wMDVjLjM1Mi4zNDUuMzUyLjkgMCAxLjI0NWwtNC43OSA0LjY5YS45MTQuOTE0IDAgMCAxLS42MzkuMjYiLz4KICAgICAgICA8cGF0aCBkPSJNNi4zOCAxMy4yMzZhLjkxNC45MTQgMCAwIDEtLjYzOC0uMjZsLTQuNzktNC42OWEuODY3Ljg2NyAwIDAgMSAuMDA1LTEuMjUuOTEuOTEgMCAwIDEgMS4yNzIgMGw0Ljc5IDQuNjlhLjg3MS44NzEgMCAwIDEgMCAxLjI1LjkxNC45MTQgMCAwIDEtLjYzOS4yNnpNMTEuODU5IDE2LjA0N0guOWEuODkyLjg5MiAwIDAgMS0uODk4LS44ODVjMC0uNDkuNDAzLS44ODUuODk4LS44ODVIMTEuODZjLjUgMCAuOTAzLjQuOTAzLjg4NSAwIC40OS0uNDAzLjg4NS0uOTAzLjg4NSIvPgogICAgPC9nPgo8L3N2Zz4K" style="max-width:initial" class="sc-bXDkGd juWczZ"/><div class="sc-gKseQn jFlOjP sc-iBPTik ktusrF Common__HiddenXS-sc-l5wx7e-20 epjGqa">Download</div></div></button></a>

@mcraa
Copy link
Contributor

mcraa commented Jun 23, 2022

Cross-site policy blocked to fetch the right version, and it fallbacks to 1.5
I guess browsers started to handle this more strictly @lurch cause the policy was the same for a long time.
The site was redeployed it should show the right version now.

@lurch
Copy link
Contributor

lurch commented Jun 23, 2022

...or some people run things like NoScript #2833 (comment)

@mcraa
Copy link
Contributor

mcraa commented Jun 23, 2022

We can't fix what some people run 😅 ,
but this time there was something to fix on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants