microsoft / vscode-asa

Azure Stream Analytics In VSCode
Creative Commons Attribution 4.0 International
10 stars 19 forks source link

Using VSCode to Run ASA script giving error listen EADDRINUSE: address already in use #74

Open Prashant-1212 opened 1 year ago

Prashant-1212 commented 1 year ago

Hello, I am using Visual Studio Code to run a script on ASA. I am using live input data from IoT Hub and will local output. The input data works fine and I can generate preview, but the script doesn't run and it generates the error "[Error] Error: listen EADDRINUSE: address already in use 127.0.0.1:8999 : Port 8999 is already used by another local credential server". On deeper inspection it looks like Port 8999 is being used by java.exe process that I can't kill (it needs elevated privilege that I don't have). What are my options here?

alexlzx commented 1 year ago

Thank you for reporting the issue.

Seems like this is an issue happened on our end. This error occurs due to the port number is occupied and cannot be used by another process during the local run. We are going to release a new hotfix to address this issue by the end of this week. Sorry for the inconvenience.

If you have any other questions, please feel free to let us know.

Prashant-1212 commented 1 year ago

Thank you, I will wait for this hotfix.

ruiminwang commented 1 year ago

Hi @Prashant-1212 , we've released VS Code extension (Azure Stream Analytics Tools) v1.4.1, please have a try! Free feel to reach out if you have any problem. Thanks!

Prashant-1212 commented 1 year ago

I tested the new hotfix and its working. Thank you !