Skip to content

SSL/TLS failure with requests and EPROTO response #1323

Closed
@Martii

Description

@Martii

The following error has shown up just recently and is preventing some script uploads and the online editor from accepting scripts with a server trip:

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: write EPROTO 140596207068992:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s3_pkt.c:1500:SSL alert number 40
140596207068992:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:../deps/openssl/openssl/ssl/s3_pkt.c:659:

    at _errnoException (util.js:1022:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:867:14)

I'm in the process of rebuilding the current LTS node to see if that will help. That particular file is part of node and is beyond our control other than a rebuild to see if a VPS update broke the build.

  • Restored SSL keys from November 2017 (primary) to be sure file corruption had not occurred. No change.
  • Reinit project deps e.g. rm -Rf node_modules and npm install. No change
  • New temporary project clone created. No Change
  • Rolling back node to earlier version with nvm did not help.
  • Rolling back to an older project clone did not help.
  • Rebuilding node... No change
  • Remove nvm completely... pending retest of system node recompile... .bashrc is new location instead of .profile.... difference in reinstallation merits removal, perhaps permanently.
  • Test manual removal of

    OpenUserJS.org/app.js

    Lines 247 to 270 in 8d90bfa

    ciphers: [
    'ECDHE-RSA-AES128-GCM-SHA256',
    'ECDHE-ECDSA-AES128-GCM-SHA256',
    'ECDHE-RSA-AES256-GCM-SHA384',
    'ECDHE-ECDSA-AES256-GCM-SHA384',
    'DHE-RSA-AES128-GCM-SHA256',
    'ECDHE-RSA-AES128-SHA256',
    'DHE-RSA-AES128-SHA256',
    'ECDHE-RSA-AES256-SHA384',
    'DHE-RSA-AES256-SHA384',
    'ECDHE-RSA-AES256-SHA256',
    'DHE-RSA-AES256-SHA256',
    'HIGH',
    '!aNULL',
    '!eNULL',
    '!EXPORT',
    '!DES',
    '!RC4',
    '!MD5',
    '!PSK',
    '!SRP',
    '!CAMELLIA'
    ].join(':'),
    honorCipherOrder: true
    and use native node encryption handling. No change
  • Test non-secure mode... FAIL... lovely... browser issue always kicking in https. Will followup with that later.

Outside ref(s):

Metadata

Metadata

Assignees

No one assigned

    Labels

    CODESome other Code related issue and it should clearly describe what it is affecting in a comment.REMOTERemote system or service.bugYou've guessed it... this means a bug is reported.enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.stabilityImportant to operations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions