home-assistant / home-assistant-js-websocket

:aerial_tramway: JavaScript websocket client for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnhandledRejection in subscribeEvents when connection is closed before receiving response

zachowj opened this issue · comments

commented

Issue #65 has reappeared or something very similar to it.

https://gist.github.com/zachowj/3bad002cd0ba3b5cd61dbfd47aecb3b5 is a demo of error in action.

Last working with v3.1.6
Tested and fails with v3.2.0 and v4.2.0

Without testing it, I suspect it was introduced in #74 when fixing #71.

Confirmed it's introduced in #74.