vscode-server-connector icon indicating copy to clipboard operation
vscode-server-connector copied to clipboard

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

Open Intradiction opened this issue 3 years ago • 13 comments

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

Intradiction avatar Feb 04 '22 21:02 Intradiction

I have the same error.

andreanaFelicione avatar Mar 24 '22 10:03 andreanaFelicione

Same

nicocossiom avatar Mar 25 '22 18:03 nicocossiom

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.

robstryker avatar Apr 01 '22 21:04 robstryker

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.

https://user-images.githubusercontent.com/72339792/161377249-b3bf80fb-6277-40d6-bdbb-fddd1f200ad9.mp4

Using downlaoded binaries:

https://user-images.githubusercontent.com/72339792/161377257-3ca66403-2f3c-466a-bada-6f7b05c11e2a.mp4

nicocossiom avatar Apr 02 '22 09:04 nicocossiom

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.

Joohangooi avatar Apr 04 '22 07:04 Joohangooi

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

nicocossiom avatar Apr 04 '22 08:04 nicocossiom

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

robstryker avatar Sep 12 '22 21:09 robstryker

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!

lloydie-t avatar Dec 27 '22 15:12 lloydie-t

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.

Terry-fengweilun avatar Apr 13 '23 14:04 Terry-fengweilun

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.

robstryker avatar Apr 18 '23 15:04 robstryker

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

Elizura avatar Nov 19 '23 08:11 Elizura

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

robstryker avatar Dec 06 '23 17:12 robstryker

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.

Matthew7712 avatar Jul 23 '24 21:07 Matthew7712