Bug 961970

Summary: MongoHQ Port Blocked
Product: OpenShift Online Reporter: T Fevens <tfevens>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED UPSTREAM QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-23 00:24:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description T Fevens 2013-05-10 21:07:16 UTC
Description of problem:
When attempting to connect to a MongoHQ hosted DB, the connection is being refused.


Version-Release number of selected component (if applicable):
N/A

How reproducible:
http://d3history-tfevens.rhcloud.com/
Simply test a connection to a remove MongoHQ server.

try {
	$connection = new Mongo('mongodb://[[username]]:[[password]]@alex.mongohq.com:10082/[[db-name]]');
	$db			= $connection->selectDB(DB_NAME);
	if(DB_AUTHENTICATION) {
		$db->authenticate(DB_USER, DB_PASS);
	}
} catch (MongoConnectionException $e) {
	echo 'Caught exception: ',  $e->getMessage(), "\n"; 
}


Steps to Reproduce:
This error is being shown at http://d3history-tfevens.rhcloud.com/
  
Actual results:
Caught exception: Failed to connect to: alex.mongohq.com:10082: Permission denied

Expected results:
Connection established, data loaded, and the website appearing.

Additional info:

Comment 1 T Fevens 2013-05-10 21:51:39 UTC
It should be mentioned that after diagnosing in IRC it was suggested that port 10082 was being blocked, and could be opened, to allow the connection.

Comment 2 Jhon Honce 2013-05-23 00:24:55 UTC
User story created to track progress: https://trello.com/c/RWKLCIup