redhat-developer / vscode-server-connector

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

port should be >= 0 and < 65536. received nan. #576

Closed pilyong17 closed 1 year ago

pilyong17 commented 1 year ago

It was working fine until now, but I changed the project folder name and the server cannot be executed. And the following message is output.

Even clearing the vscode cache and reinstalling it still the same. What could be the cause?

robstryker commented 1 year ago

This is very very strange. I've searched my git history in both vscode-server-connector and rsp-server-community, as well as vscode-rsp-ui, and can't find a string that fits that format anywhere.

This incldues the current repository, the git history, even some dependencies like portFinder.

I have abolutely no idea where such a string could be coming from.

pilyong17 commented 1 year ago

I couldn't solve this problem. So, I decided to create a Tomcat execution script in task and use it.

robstryker commented 1 year ago

Can you tell me what version fo the extension you were using?

olkornii commented 1 year ago

@pilyong17 Hi, as I understand the problem is in "Community Server Connector", not "Red Hat Server Connector". Community server connector is here: https://github.com/redhat-developer/rsp-server-community

Can I also ask you to provide more info about problem? Ideally, there would be steps to reproduce the problem. Something like that:

  1. Create new <type/name> project
  2. Install Community Server Connector
  3. Create server <server_typ/version> ...
robstryker commented 1 year ago

We don't really allow the user to change ports manually for this thing, so, I mean, if you can install it and start and stop the RSP, those are all the steps I'd suggest testing for now.

olkornii commented 1 year ago

I can install Server Connectors and start/stop works fine. I've also tried to download tomcat/wildfly + start/stop. Works for me with VS Code 1.76.2

robstryker commented 1 year ago

Unable to replicate. Please re-open if it occurs again.