vscode-server-connector
vscode-server-connector copied to clipboard
Unable to create the server: Extension backend error - failed to download runtime in time
I receive that error when trying to download Tomcat servers, is it possibly caused by an incompatible Java version?
I have the same error.
Same
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.
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
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.
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
Is this issue still replicatable with newer runtimes? There was an issue in the past where some download urls changed.
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!
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.
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.
Has this issue been fixed? I am using kali linux and the error still persists
I've still been unable to replicate the issue sadly.
I used this guide to solve this problem : https://code.visualstudio.com/docs/java/java-tomcat-jetty.
First, I deleted the server.
Then followed the steps outlined in the user manual.
- Add new Apache Tomcat Server;
- Start the created server;
- Right-click on the new server, select Server Actions... from the menu, then select Show in Browser..., then select http://localhost:8080/.;
- 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.