[COMPASS-2822] Compass always uses SSL with SRV records enabled, even when SSL is explicitly disabled Created: 02/May/18  Updated: 29/Oct/23  Resolved: 18/Apr/19

Status: Closed
Project: Compass
Component/s: Compass, Connectivity
Affects Version/s: 1.13.0
Fix Version/s: 1.18.0, 1.19.0, 1.19.1

Type: Bug Priority: Major - P3
Reporter: Brian Blevins Assignee: Anna Herlihy (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOSX


Issue Links:
Related
Sprint: Iteration Vol au Vent, Iteration Wasabi, Iteration Xiaolongbao, Iteration Zucchini, Iteration Antelope, Iteration Bison, Iteration Cat

 Description   

When SRV records are enabled in Compass 1.13.0, the following error is seen in the MongoDB server log file. This error is generated regardless of the SSL setting selected in the Compass UI.

2018-05-02T16:00:26.354-0400 [conn24] AssertionException handling request, closing client connection: 17132 SSL handshake received but server is started without SSL support

According to the documentation

https://docs.mongodb.com/manual/reference/connection-string/

it should be possible to disable SSL, even when the connection string includes SRV:

In addition, use of the +srv connection string modifier sets the ssl option to true automatically for the connection. This can be overridden by explicitly setting the ssl option to false with ssl=false in the query string.



 Comments   
Comment by Githook User [ 29/Apr/19 ]

Author:

{'email': 'anna.herlihy@10gen.com', 'name': 'anna herlihy', 'username': 'aherlihy'}

Message: COMPASS-2822 - Default set ssl=false in URI (#1697)
Branch: view-idcators
https://github.com/10gen/compass/commit/9c857255bd84df46f5479511710b32c8c88f1012

Comment by Githook User [ 26/Apr/19 ]

Author:

{'name': 'anna herlihy', 'username': 'aherlihy', 'email': 'anna.herlihy@10gen.com'}

Message: COMPASS-2822 - Default set ssl=false in URI (#1697)
Branch: fix-build
https://github.com/10gen/compass/commit/9c857255bd84df46f5479511710b32c8c88f1012

Comment by Githook User [ 18/Apr/19 ]

Author:

{'email': 'anna.herlihy@10gen.com', 'name': 'anna herlihy', 'username': 'aherlihy'}

Message: COMPASS-2822 - Default set ssl=false in URI (#1697)
Branch: master
https://github.com/10gen/compass/commit/9c857255bd84df46f5479511710b32c8c88f1012

Comment by Githook User [ 18/Apr/19 ]

Author:

{'name': 'aherlihy', 'username': 'aherlihy', 'email': 'anna.herlihy@10gen.com'}

Message: COMPASS-2822 - Default set ssl=false in URI
Branch: 2822-dev
https://github.com/10gen/compass/commit/d57a866a059b1d470bad0494dc0e2d30eb49c4df

Comment by Githook User [ 17/Apr/19 ]

Author:

{'name': 'aherlihy', 'username': 'aherlihy', 'email': 'anna.herlihy@10gen.com'}

Message: COMPASS-2822 - always set SSL in connection-model
Branch: master
https://github.com/mongodb-js/data-service/commit/2e54b346ec11ce7cb90ee8a38974a824ddc22af5

Generated at Wed Feb 07 22:31:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.