Open a8ree opened 5 years ago
The issue is known in cast-web-api, just didn't know it was crashing the windows gui. Thanks for letting me know. Sadly if the issue is the one indicated in the logs, it won't be fixed in some time. I need to fork and fix a library I'm using. I cannot give you an eta on that, but it will be fixed.
@vervallsweg
Does this issue affect all platforms? Can I work around it by doing the manual node.js or running on Android? Or will I get the same issue?
Cheers
Well, if you install cast-web-api-cli manually, it'll restart from crashes on it's own. The desktop app isn't as robust, due to limitations in electron.
Android is a mess right now. The node version dory comes with is outdated. The developer put some instructions in the app description in the play store, but I haven't tested it.
Great - thanks. I've gone for the manual install as you suggested and it appears to be working fine. Cheers!
On Fri, 19 Jul 2019 at 11:58, Tobias H notifications@github.com wrote:
Well, if you install cast-web-api-cli manually https://vervallsweg.github.io/cast-web/installation-cast-web-api/, it'll restart from crashes on it's own. The desktop app isn't as robust, due to limitations in electron.
Android is a mess right now. The node version dory comes with is outdated. The developer put some instructions in the app description in the play store, but I haven't tested it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vervallsweg/cast-web-api-desktop/issues/9?email_source=notifications&email_token=AD3WQXJK72UK6W7U4MSWOQTQAGM4FA5CNFSM4H7HWXY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LJ3HI#issuecomment-513187229, or mute the thread https://github.com/notifications/unsubscribe-auth/AD3WQXKHKKPBKFS54AZ24HDQAGM4FANCNFSM4H7HWXYQ .
My Windows installation (gui) is crashing regularly. I've tried to reinstall but it still occurs
Here is the log from the latest crash
parseCallbacksJson ms: 0 value: {"heartbeat":0} ms: 0 cast-web-api v1.2.1 cast-web-api running at http://127.0.0.1:3000 ms: 0 value: "" deviceUp: {"id":"78345e2e780201e6561835aa312ba0fb","name":"Bedroom tv","address":{"port":8009,"host":"192.168.1.184","rejectUnauthorized":false},"groups":[]} deviceUp: {"id":"8e73c1be6a20997a7fcacca59628c63b","name":"MIBOX3","address":{"port":8009,"host":"192.168.1.217","rejectUnauthorized":false},"groups":[]} deviceUp: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60","rejectUnauthorized":false},"groups":[]} message broadcast: false message broadcast: false message broadcast: false deviceUp: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163","rejectUnauthorized":false},"groups":[]} message broadcast: false 2019-07-09T10:20:26.687Z 028336b067a4c1601130315a40135077 CastReceiver.connect(): castDevice.castConnectionReceiver.client error: Error: read ECONNRESET ms: 0 value: "" deviceDown: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163"},"groups":[]} playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/ding_ding_ding_dong.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: e2ad18a5-d7ec-4622-84f1-347ee7ced06f message broadcast: true message broadcast: true ms: 0 value: "" message broadcast: true sessionIdChanged: null deviceDown: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60"},"groups":[]} deviceUp: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60","rejectUnauthorized":false},"groups":[]} message broadcast: false ms: 0 value: "" ms: 0 value: "" ms: 0 value: "" ms: 0 value: "" deviceUp: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163","rejectUnauthorized":false},"groups":[]} message broadcast: false playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/ding_ding_ding_dong.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: 10b9c03c-c39c-4ccc-83de-0af8d4f8ae46 message broadcast: true message broadcast: true deviceDown: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163"},"groups":[]} deviceUp: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163","rejectUnauthorized":false},"groups":[]} message broadcast: false 2019-07-09T10:49:21.361Z 028336b067a4c1601130315a40135077 CastReceiver.connect(): castDevice.castConnectionReceiver.client error: Error: read ECONNRESET ms: 0 value: "" deviceDown: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163","rejectUnauthorized":false},"groups":[]} message broadcast: true sessionIdChanged: null ms: 0 value: "" ms: 0 value: "" playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/ding_ding_ding_dong.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: 9f16c7ff-0ab9-4155-9e13-676d082584f4 message broadcast: true message broadcast: true ms: 0 value: "" message broadcast: true sessionIdChanged: null deviceDown: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60"},"groups":[]} deviceUp: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60","rejectUnauthorized":false},"groups":[]} message broadcast: false ms: 0 value: "" deviceUp: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163","rejectUnauthorized":false},"groups":[]} message broadcast: false message broadcast: true message broadcast: true message broadcast: true message broadcast: true ms: 0 value: "" deviceDown: {"id":"028336b067a4c1601130315a40135077","name":"kitchen tv","address":{"port":8009,"host":"192.168.1.163"},"groups":[]} ms: 0 value: "" ms: 0 value: "" playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/ding_ding_ding_dong.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: 4803f900-2e8a-4a07-9afe-782cf7270d6d message broadcast: true message broadcast: true ms: 0 value: "" deviceDown: {"id":"78345e2e780201e6561835aa312ba0fb","name":"Bedroom tv","address":{"port":8009,"host":"192.168.1.184"},"groups":[]} deviceUp: {"id":"78345e2e780201e6561835aa312ba0fb","name":"Bedroom tv","address":{"port":8009,"host":"192.168.1.184","rejectUnauthorized":false},"groups":[]} message broadcast: false message broadcast: true sessionIdChanged: null ms: 0 value: "" ms: 0 value: "" ms: 0 value: "" ms: 0 value: "" ms: 0 value: "" playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/ding_ding_ding_dong.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: 10185da4-e499-4239-808a-c00e23951340 message broadcast: true message broadcast: true deviceDown: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60"},"groups":[]} sessionIdChanged: null deviceUp: {"id":"7e7444d02f8bafc4754c155641580051","name":"Kitchen Home","address":{"port":8009,"host":"192.168.1.60","rejectUnauthorized":false},"groups":[]} message broadcast: false sessionIdChanged: 10185da4-e499-4239-808a-c00e23951340 ms: 0 value: "" message broadcast: true sessionIdChanged: null volume message broadcast: true message broadcast: true playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/front_door_has_been_left_open.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: 79545227-3f77-4365-b42b-1f20aea74529 message broadcast: true playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/ding_ding_ding_dong.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true message broadcast: true sessionIdChanged: null message broadcast: true sessionIdChanged: ebda8a6f-b804-4ae4-ac5b-3106e4d79969 2019-07-09T12:04:37.663Z CastDevice.playMedia(): this._castv2Client.close() exception: TypeError: Cannot read property 'close' of null ms: 0 value: "" volume message broadcast: true message broadcast: true playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/test.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] playMedia: [{"mediaType":"audio/mp3","mediaUrl":"http://bbcsfx.acropolis.org.uk/assets/07046013.wav","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] message broadcast: true sessionIdChanged: null message broadcast: true sessionIdChanged: f89bb4eb-bf94-4fb6-8391-74210791d705 message broadcast: true message broadcast: true message broadcast: true 2019-07-09T12:05:59.728Z CastDevice.playMedia(): this._castv2Client.close() exception: TypeError: Cannot read property 'close' of null volume group message broadcast: true playMedia: [{"mediaType":"audio/mp3","mediaUrl":"https://s3.amazonaws.com/smartapp-media/polly-tts/salli/test.mp3","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] playMedia: [{"mediaType":"audio/mp3","mediaUrl":"http://bbcsfx.acropolis.org.uk/assets/07046013.wav","mediaStreamType":"BUFFERED","mediaTitle":"SmartThings","mediaSubtitle":"SmartThings playback","mediaImageUrl":"https://lh3.googleusercontent.com/nQBLtHKqZycERjdjMGulMLMLDoPXnrZKYoJ8ijaVs8tDD6cypInQRtxgngk9SAXHkA=w300"}] Uncaught TypeError: Cannot read property 'launch' of null message broadcast: true sessionIdChanged: null