简体   繁体   中英

IntelliJ error: “Empty response from server” - Run/Debug Configuration for a remote GlassFish

I am trying to associate my remote glassfish 5.1 server with my IntelliJ IDEA 2020.1 but I am getting the error:

Error running 'GlassFish 51': Unable to connect to the example.com:4848, reason: com.intellij.javaee.process.common.WrappedException: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Empty response from server.

The remote server is being running and it is possible to open a Glassfish remote admin console at an address example.com:4848 . These are my settings: (The blured host name is a domain name of my remote server. Say example.com )

在此处输入图像描述

在此处输入图像描述

Username and Password on the first picture are the same that I successfully use when entering the Glassfish remote admin console.

How to enable the connection? I can add more screenshots of the configuration and add more information when needed.

The solution was to turn on an option Use SSL connection . Strange but helped. I did not do anything about SSL at that web server. The urls are of an http type, not https...

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM