Bug 786373 - Guvnor repository connection does not support https connections
Summary: Guvnor repository connection does not support https connections
Keywords:
Status: ASSIGNED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Tooling (JBDS)
Version: BRMS 5.2.0.GA
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Mark Proctor
QA Contact:
URL:
Whiteboard:
: 862495 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 09:03 UTC by Toshiya Kobayashi
Modified: 2023-05-15 18:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBRULES-3027 0 Major Resolved Guvnor repository connection does not support https connections 2015-04-25 13:43:54 UTC

Description Toshiya Kobayashi 2012-02-01 09:03:10 UTC
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

Comment 1 Toshiya Kobayashi 2012-02-01 09:11:53 UTC
JBDS 4.1.0 has the same result.

Comment 2 Toshiya Kobayashi 2012-08-28 04:24:53 UTC
BRMS 5.3.0 + JBDS 5.0.0 has the same result.

Comment 4 Lukáš Petrovický 2012-10-17 08:37:12 UTC
*** Bug 862495 has been marked as a duplicate of this bug. ***

Comment 9 Jervis Liu 2012-11-19 07:44:12 UTC
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?

Comment 10 JBoss JIRA Server 2012-11-19 22:17:54 UTC
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.

Comment 11 Jervis Liu 2012-11-20 03:26:29 UTC
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.

Comment 13 JBoss JIRA Server 2013-11-18 11:01:53 UTC
Toni Rikkola <toni> updated the status of jira JBRULES-3027 to Resolved


Note You need to log in before you can comment on or make changes to this bug.