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

Unable to create the server: Extension backend error - failed to download runtime in time #526

Open
Intradiction opened this issue Feb 4, 2022 · 13 comments

Comments

@Intradiction
Copy link

Intradiction commented Feb 4, 2022

I receive that error when trying to download Tomcat servers, is it possibly caused by an incompatible Java version?

@andreanaFelicione
Copy link

I have the same error.

@nicocossiom
Copy link

Same

@robstryker
Copy link
Contributor

Are you all using java 17?

I'll try to get a release out ASAP with java 17 support. The new extension should be backwards compatible with previous java versions too, if everything goes as expected.

@nicocossiom
Copy link

I have tried using both openjdk11 and 17 and they both don't work. What doesn't work is downloading a server through the extension. Although I can download the server binaries separately and then use it normally.
Trying to download a server through the extension.

CleanShot.2022-04-02.at.11.25.26.mp4

Using downlaoded binaries:

CleanShot.2022-04-02.at.11.31.33.mp4

@Joohangooi
Copy link

Are you guys using M1 mac as well? I have tried to create a server on a Windows pc, it works but not on my M1 Mac.

@nicocossiom
Copy link

Are you guys using M1 mac as well? I have tried to create a server on a Windows pc, it works but not on my M1 Mac.

Yeah M1 on MBPro 2020. But i have the same problem on my Ryzen desktop

@robstryker
Copy link
Contributor

Is this issue still replicatable with newer runtimes? There was an issue in the past where some download urls changed.

@lloydie-t
Copy link

Same Problem on windows 11 (64 Bit), JDK17, Paraya 6.2022.2 and Wildfly 27.0.1 final. The packaged ones install fine, but do not seem to ne able to deploy my war files.

Unable to create the server: Extension backend error - could not detect any server at c:\users\someuser\downloads\wildfly-27.0.1.final\wildfly-27.0.1.final!

@Terry-fengweilun
Copy link

Terry-fengweilun commented Apr 13, 2023

I have a solution to the problem
mine: Mac M2 MacBook-Air vscode tomcat server
1.Finder->/users/ cmd+shift+. (display hidden files)-> /Users/***/.rsp/redhat-community-server-connector/runtimes/installations/
2.here paste your own Tomcat downloaded from the official website.
3.finally, in Vscode,reload the new Tomcat address.
you will find the PERMISSION turns to admitted and it can load normally.

@robstryker
Copy link
Contributor

It's really strange. We don't expect the download to complete quickly, but we do expect the RSP server to respond that a download has been initiated within 7.5 seconds. Then there should be job / progress report on the download.

@Elizura
Copy link

Elizura commented Nov 19, 2023

Has this issue been fixed?
I am using kali linux and the error still persists

@robstryker
Copy link
Contributor

I've still been unable to replicate the issue sadly.

@Matthew7712
Copy link

I used this guide to solve this problem : https://code.visualstudio.com/docs/java/java-tomcat-jetty.
First, I deleted the server.
Screenshot from 2024-07-24 00-33-48
Then followed the steps outlined in the user manual.

  1. Add new Apache Tomcat Server;
  2. Start the created server;
  3. Right-click on the new server, select Server Actions... from the menu, then select Show in Browser..., then select http://localhost:8080/.;
  4. And last step, return to vs code, then find war archive of your app, and right click on it. This will bring up a menu, in it select Run on Server.

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

9 participants