I really like this link that helps to troubleshoot sql connection issue. Really awesome to figure out what's wrong with the SQL instance when unable to connect
When you tries to install nodejs usng sudo apt install -y nodejs this typically installs nodejs 18 on ubuntu. To upgrade to a newer version of it, you have to curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - And then run sudo apt install -y nodejs And then you have node 22 installed:
Due to a security permission constraints on your folder, when using ssh via pem file, it needs to be secured. To do what, place your file in a folder and then configure the necessary permission. right click on the folder, right click on properties -> security -> Advance tab (as shown in figure below). Once you click on Apply, try to re-connect again.
Encounter this issue when running autorest (that uses nodejs). I am using node version: v18.20.2 After i revert to use node v18.12.0, then i was able to get my app to run without this error. Since i am working with Azure devops yaml, i was able to use the following to resolve my issue. - task : NodeTool@0 inputs : versionSource : 'spec' versionSpec : '18.18.0'
Comments