Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0.0-incubating
Description
In Cloud Foundry we have SSL termination, i.e. our transport path looks something like this:
gfsh <---- https ----> ELB <---- http ----> Cluster
Where ELB is an Elastic Load Balancer or HAProxy.
When attempting to connect using a https URL, the following occurs:
gfsh>connect --use-http --url=https://gf-plan-1-dashboard-253bff71-a09b-4f1a-49fb-ef6b13c39c34.gf1.pcf-gemfire.com/gemfire/v1 Successfully connected to: GemFire Manager HTTP service @ https://gf-plan-1-dashboard-253bff71-a09b-4f1a-49fb-ef6b13c39c34.gf1.pcf-gemfire.com/gemfire/v1 gfsh> No longer connected to GemFire Manager HTTP service @ https://gf-plan-1-dashboard-253bff71-a09b-4f1a-49fb-ef6b13c39c34.gf1.pcf-gemfire.com/gemfire/v1. gfsh> Exiting...
The problem is that gfsh retrieves meta-information consisting of an index of commands mapped to URL endpoints. Even though an initial https connection is made, the URLs returned in the index are http URLs.