Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

unable to use plugin #2

Open
thevaibhav opened this issue Nov 21, 2020 · 2 comments
Open

unable to use plugin #2

thevaibhav opened this issue Nov 21, 2020 · 2 comments

Comments

@thevaibhav
Copy link

11/21/2020, 11:37:02 AM [Sense Energy Meter] Error event on sense: ErrorEvent {
target: WebSocket {
_events: [Object: null prototype] {
open: [Function],
message: [Function],
close: [Function],
error: [Function]
},
_eventsCount: 4,
_maxListeners: undefined,
readyState: 2,
protocol: '',
_binaryType: 'nodebuffer',
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: '',
_closeTimer: null,
_closeCode: 1006,
_extensions: {},
_receiver: null,
_sender: null,
_socket: null,
_isServer: false,
_redirects: 0,
url: 'wss://clientrt.sense.com/monitors/183202/realtimefeed?access_token="//i removed the token on purpose',
_req: null,
[Symbol(kCapture)]: false
},
type: 'error',
message: 'write EPROTO 1995433632:error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type:../deps/openssl/openssl/ssl/t1_lib.c:1146:\n',
error: Error: write EPROTO 1995433632:error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type:../deps/openssl/openssl/ssl/t1_lib.c:1146:

  at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16) {
errno: 'EPROTO',
code: 'EPROTO',
syscall: 'write'

}
}

@jcgillespie
Copy link

I'm getting the same. Looks like it might be related to this.
scottbonline/sense#30

@jcgillespie
Copy link

FYI - This worked for me. Had to change the default OpenSSL SECLEVEL. Evidently Sense needs to make an update on their side.
home-assistant/core#26388 (comment)
https://community.home-assistant.io/t/debian-10-and-openssl-1-1-1b-wrong-signature-type-errors/121050

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants