Description of problem: When trying to access a Guvnor instance over https eclipse always throw an "Unexpected end of stream." exception. Version-Release number of selected component (if applicable): BRMS 5.2.0 JBDS 4.0.0 How reproducible: always Steps to Reproduce: 1. Start up BRMS 5.2.0 with https enabled 2. Add a new connection to the Guvnor instance on eclipse (Guvnor Repository Exploring). 3. The connection wizard does not allow to specify https connection method, so edit ${workspace}/.metadata/org.guvnor.tools/.replist to add "s" to the URL and restart eclipse 4. Click the URL on "Guvnor Repositories" Actual results: Shows Error "Unexpected end of stream." Expected results: Connect to Guvnor
JBDS 4.1.0 has the same result.
BRMS 5.3.0 + JBDS 5.0.0 has the same result.
*** Bug 862495 has been marked as a duplicate of this bug. ***
Hi, Guvnor is using http://sourceforge.net/projects/webdav-servlet/ as its WebDav support, which is a Servlet implementation based on standard. To support https connection for WebDav, in theory we just need to enable SSL on the web container where Guvnor is hosted, eg tomcat or EAP5.1 etc. Have you tried enable SSL on EAP5.1, and does it work?
Cristiano Nicolai <cristiano.nicolai> made a comment on jira JBRULES-3027 Hi Jervis, Guvnor works fine with SSL enabled, if you use a different client like Nautilos in Fedora you can connect, browse and upload files normally. However, the eclipse plugin does not seem to handle https connections correctly, failing to connect with the described exception.
Further investigation shows the problem comes from the Eclipse WebDav plugin. Guvnor eclipse plugin uses Eclipse WebDav plugin to connect to Guvnor WebDav server. Eclipse WebDav plugin does not support SSL, similar bug report had been reported before (also the "Unexpected end of stream." error), see below: https://bugs.eclipse.org/bugs/show_bug.cgi?id=54287 https://bugs.eclipse.org/bugs/show_bug.cgi?id=148867 Unfortunately Eclipse WebDav plugin is not under active development anymore and these bugs are not going to be fixed. We will need to completely rewrite our Guvnor eclipse plugin based Eclipse Web Tools or other technologies.
Toni Rikkola <toni> updated the status of jira JBRULES-3027 to Resolved