Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5

Improved diagnostics for failed replica set connections

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Driver version 1.1.11

      When a replica set connection fails the error message can be fairly opaque, requiring lucky guesswork or heroic efforts to fix. A common problem we have been running into is connection timeouts from Heroku as shown here:

      https://github.com/jcottr/temps-mort

      It would be nice to have better tools for diagnosing the issue in these situations. Either better error messages (in this case, it would have been helpful to know that we were getting timeouts) or maybe a diagnostic mode you could put the driver in where it would log diagnostic messages including the individual errors it gets on connection attempts.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            jared Jared D. Cottrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: