Upsource IntelliJ Plugin-> Received fatal alert: handshake_failure


I am having problems connecting intellij upsource plugin with our upsource server. 

From web browser everything works as expected. 

From intellij (when I've enabled debug for upsource) I get:

com.jetbrains.upsource.idea.client.HttpSupportProvider$MyException: Received fatal alert: handshake_failure
at com.jetbrains.upsource.idea.authorization.ProxySettingsAwareHttpSupportProvider.doPerformHttpRequest(
at com.jetbrains.upsource.idea.authorization.ProxySettingsAwareHttpSupportProvider.performGetRequest(
at com.jetbrains.upsource.idea.client.UpsourceClientsManager.getJsonResponse(
at com.jetbrains.upsource.idea.client.UpsourceClientsManager.computeUpsourceClientVersion(
at com.jetbrains.upsource.idea.client.UpsourceClientsManager.getClientFactory(
at com.jetbrains.upsource.idea.client.UpsourceClientsManager.access$200(
at com.jetbrains.upsource.idea.client.UpsourceClientsManager$
at com.jetbrains.upsource.idea.util.Util.lambda$runUnderProgress$3(
at com.intellij.openapi.progress.impl.CoreProgressManager$
at com.intellij.openapi.progress.impl.CoreProgressManager$
at com.intellij.openapi.progress.impl.CoreProgressManager$
at com.intellij.openapi.progress.impl.CoreProgressManager.a(
at com.intellij.openapi.progress.impl.CoreProgressManager.a(
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(
at com.intellij.openapi.application.impl.ApplicationImpl.a(
at com.intellij.openapi.application.impl.ApplicationImpl$
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: Received fatal alert: handshake_failure


I've added manually cert (downloaded from browser) to ...idea/jre64/lib/security/cacerts

when I list the certs I can see the cert for my server

keytool  -list -keystore ...idea/jre64/lib/security/cacerts


My machine is linux.


Thank you for you answer


What if you disable SSL validation here:





I've tried triggering that on/off  no success. I've also checked "Accept non-trusted certificates automatically" 


Any update on this ? 

The only reason we are looking into upsource is the IDE integration. It would be really good if I can get some help with this. 


What proxy server are you using? Is there any non-default configuration?


we are using cloudflare which does ssl termination and forwards http to nginx which listen on port 80 and forward config to upsource server.

There is nothing special about the configuration. I can send you the address of the server in PM so you can try.


I've just realized that you don't have PM messages. I can send you the link in email or chat, etc. but would not feel comfortable to leave it here in the public forum 


Please send it to artem.rokhin at


Ok, I clicked on test connection button and was redirected to your Upsource instance for the authentication.

And what happens to you when you test connection?


This is strange, I got your message and tried myself again, and I got connected to the authentication page BUT 

 I've noticed that I am not in the main project  so I've switched back to the main. I've tried to connect and got an error again. (red pop-up)  

So I've played a bit and the way I got it to work in the main project was -> 1.removed the remembered url and saved with ok (which closes the dialog). 2. closed the intellij. Open the intellij again went to upsource connection and this time it was working. 


Yesterday our admin was playing a bit with the network so he must have done something which is good, but intellij has remembered bad connection somehow so I was not able to verify the success. But it seems that it works now (with this strange bug). 

I will ask him what he has done and will let you know. 

Thank you 



Please sign in to leave a comment.