Transportlayer-error on installation

Hi,
I’m trying to run sonarqube with an MSSQL-Server on my Windows 2016 Server. But when I run the startsonar.bat, I always get the following error:

2018.06.12 12:57:26 WARN  app[][o.e.t.n.Netty4Transport] exception caught on transport layer [[id: 0xf37be5db, L:/127.0.0.1:63755 - R:/127.0.0.1:35987]], closing connection
java.io.IOException: An existing connection was forcibly closed by the remote host

I already tried changing the sonar.web.port to 35123

Hi Elias,

For now I would recommend you check the various logs mentioned in the Troubleshooting Guide and see if there are some good hints there. If no clue then you’ll have to share full log files (you should be able to attach text files), otherwise it’s hard to see what’s happening in details.

Hello! I was struggling with similar issue trying to get SonarQube work with PostgreSQL.
Actually, you are looking into wrong log file, try checking web.log. Look there for records about MS SQL authentication. In my case it was just authentication failure due to incorrect access rights for user in PG.

It seems that when web-server encounters database authentication error, sonar produces such warnings in sonar.log. It is very confusing.

1 Like