redhat-developer / vscode-server-connector

📦 Connects Visual Studio Code to your server adapters and run, deploy apps !!
Eclipse Public License 2.0
57 stars 26 forks source link

vscode connecting to server connects up to 15 times #446

Closed robstryker closed 4 years ago

robstryker commented 4 years ago

When an rsp has been launched, the RSP receives over 15 connection attempts. This appears to be caused by the waitOn call, which simply spams connection attempts. This is entirely too many connection attempts and may somehow be causing the exceptions seen in https://github.com/redhat-developer/vscode-server-connector/issues/445 since the waitOn might be creating the connection and closing it very quickly, before the server is able to send a response.