question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Certificate issues connecting to SL

See original GitHub issue

I’m trying to get the wallet running on Linux. After quite some theater I’m able to launch SL and Daedalus now, but Daedalus hangs with the well known “Connecting to network” message, and I see the console flooded with messages like:

[10:11:52:0147] [error] AdaApi::syncProgress error: {
  "stack": "Error: self signed certificate\n    at TLSSocket.<anonymous> (_tls_wrap.js:1088:38)\n    at emitNone (events.js:86:13)\n    at TLSSocket.emit (events.js:188:7)\n    at TLSSocket._finishInit (_tls_wrap.js:610:8)\n    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)",
  "message": "self signed certificate",
  "code": "DEPTH_ZERO_SELF_SIGNED_CERT"
}
[10:11:52:0166] [error] AdaApi::getLocalTimeDifference error: {
  "stack": "Error: self signed certificate\n    at TLSSocket.<anonymous> (_tls_wrap.js:1088:38)\n    at emitNone (events.js:86:13)\n    at TLSSocket.emit (events.js:188:7)\n    at TLSSocket._finishInit (_tls_wrap.js:610:8)\n    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)",
  "message": "self signed certificate",
  "code": "DEPTH_ZERO_SELF_SIGNED_CERT"

I’m using cardano-SL master ( https://github.com/input-output-hk/cardano-sl/commit/797dfa4704adfd566c425357ced6787f0a576268 ) and the recommended version for Daedalus ( ab6aab0c5203e9bad9af66d17ad65b460f61f226 ) which is supposed to get along with the timedifference issue. Though, I suppose the errors concerning some certificate have some other reason, and I didn’t see any reports about that so far. I’m running node v6.12.3 on Ubuntu 16.04. Pls let me know if I can help with further debug data.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zmeelcommented, Feb 1, 2018

I had the same issue. Solved it by setting NODE_TLS_REJECT_UNAUTHORIZED=0 as environmental variable

0reactions
CraniumDadcommented, Mar 25, 2018

I was also able to work around this by copying or symbolic linking the cardano-sl’s nodes ‘state-wallet-mainnet/tls/server.cert’ to ~/tls/ca/ca.crt for Daedalus.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Does SSL Connection Error Mean and How to Fix It
Here's what you can do to fix it: Step 1 – Clear Browser History – press CTRL + SHIFT + DELETE at the...
Read more >
What Do SSL Certificate Errors Mean: Causes & How to Fix ...
An SSL certificate error occurs when the browser cannot verify the SSL certificates returned by the server.
Read more >
Error message when you connect to SQL Server
The certificate received from the remote server was issued by an untrusted certificate authority error when you connect to SQL Server.
Read more >
A Simple Explanation of SSL Certificate Errors & How to Fix ...
An SSL certificate error occurs when a web browser can't verify the SSL certificate installed on a site. Rather than connect users to...
Read more >
How to Fix SSL Connection Error on Android Phone
Ways to Fix the SSL Connection Error · 1. Make Sure the Date and Time are Correct · 2. Clear Chrome's Browsing Data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found