[GODRIVER-1955] IsNetworkError does not return true for network errors during connection handshakes Created: 08/Apr/21  Updated: 28/Oct/23  Resolved: 04/May/21

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.2

Type: Bug Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Due to the way errors are wrapped between the auth and topology packages, IsNetworkError will not return true for a network error during connection establishment. 



 Comments   
Comment by Githook User [ 04/May/21 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}

Message: GODRIVER-1955 create labeledError interface (#651)
Branch: release/1.5
https://github.com/mongodb/mongo-go-driver/commit/d3c924dcc327031621d1c64ac2d0fcdef1529ed3

Comment by Githook User [ 04/May/21 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}

Message: GODRIVER-1955 create labeledError interface (#651)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/87658c4cccb19de99e78f6c5501378f902604f0d

Generated at Thu Feb 08 08:37:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.