Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-633

SSL handshake failed: Premature end of input

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None

      Goals

      Trying to open to a synced realm with nodejs on Windows 10.

      Note: The same code works fine on macOS.

      Expected Results

      Open synced realm without error.

      Actual Results

      $ node index.js
      getApp() -> OK
      User logged in: 5ee5f48261d4786a707d9af1
      Connection[1]: Session[1]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
      Connection[1]: Connected to endpoint '75.2.1.110:443' (from '127.0.0.1:50066')
      ERROR: Connection[1]: SSL handshake failed: Premature end of input
      Connection[1]: Connection closed due to error
      

      Steps to Reproduce

      Set up a simple nodejs project and run node index.js

      Code Sample

      https://gist.github.com/vincemaz/02f3a35adfa9d63897f02eb11378f8dc

      Version of Realm and Tooling

      • Realm JS SDK Version: v10.0.0-beta.6
      • Node: v12.18.0
      • Client OS & Version: Windows 10

            Assignee:
            yavor.georgiev@mongodb.com Yavor Georgiev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: