Originally posted by spud
View Post
Announcement
Collapse
No announcement yet.
Chromecast Plugin Disconnecting
Collapse
X
-
Originally posted by spud View Post
Well, if if the plugin disconnects it is either because
(a) the TCP connection has been broken, so in this case the plugin will try to reconnect automatically after 30 seconds
or
(b) Bonjour/Avahi says to the plugin that the chromecast has disappeared, in this case a reconnection shouldn't be needed until the chromecast service is advertised again by Bonjour/Avahi.
You can look at debug logs, why it is disconnecting.
Theoretically an event to reconnect shouldn't be needed, if you want to keep it, I would at least make it like below this to let the auto reconnection do its job
IF ChromecastAudio2751 Root has been Disconnected for exactly 2 minutes
Then
Set Device ChromecastAudio2751 Root to Connect
Leave a comment:
-
Originally posted by cowinger View PostI am still getting these disconnect errors in the AM. I am on 3.0.0.27.Oct-29 3:17:44 AM Chromecast INFO Connected to chromecast Master Bedroom speaker Oct-29 3:17:44 AM Chromecast INFO Connecting to Master Bedroom speaker/ Oct-29 3:17:44 AM Chromecast INFO Found Service: Chromecast-Audio-577451f8c2ae831194c7c Oct-29 3:17:00 AM Chromecast INFO Disconnected from chromecast Master Bedroom speaker Oct-29 3:17:00 AM Chromecast INFO Disconnecting from Master Bedroom speaker/ Oct-29 3:17:00 AM Chromecast INFO Lost Service: Chromecast-Audio-577451f8c2ae831194c7c Oct-29 2:35:55 AM Chromecast INFO Connected to chromecast Living Room speaker Oct-29 2:35:55 AM Chromecast INFO Connecting to Living Room speaker/ Oct-29 2:35:51 AM Chromecast INFO Found Service: Chromecast-Audio-0f0535dad554365369db0 Oct-29 2:35:06 AM Chromecast INFO Disconnected from chromecast Living Room speaker Oct-29 2:35:06 AM Chromecast INFO Disconnecting from Living Room speaker/ Oct-29 2:35:06 AM Chromecast INFO Lost Service: Chromecast-Audio-0f0535dad554365369db0
Leave a comment:
-
I am still getting these disconnect errors in the AM. I am on 3.0.0.27.Oct-29 3:17:44 AM Chromecast INFO Connected to chromecast Master Bedroom speaker Oct-29 3:17:44 AM Chromecast INFO Connecting to Master Bedroom speaker/ Oct-29 3:17:44 AM Chromecast INFO Found Service: Chromecast-Audio-577451f8c2ae831194c7c Oct-29 3:17:00 AM Chromecast INFO Disconnected from chromecast Master Bedroom speaker Oct-29 3:17:00 AM Chromecast INFO Disconnecting from Master Bedroom speaker/ Oct-29 3:17:00 AM Chromecast INFO Lost Service: Chromecast-Audio-577451f8c2ae831194c7c Oct-29 2:35:55 AM Chromecast INFO Connected to chromecast Living Room speaker Oct-29 2:35:55 AM Chromecast INFO Connecting to Living Room speaker/ Oct-29 2:35:51 AM Chromecast INFO Found Service: Chromecast-Audio-0f0535dad554365369db0 Oct-29 2:35:06 AM Chromecast INFO Disconnected from chromecast Living Room speaker Oct-29 2:35:06 AM Chromecast INFO Disconnecting from Living Room speaker/ Oct-29 2:35:06 AM Chromecast INFO Lost Service: Chromecast-Audio-0f0535dad554365369db0
Leave a comment:
-
Originally posted by brett_cp View Post
Wow, that was quick! In my few minutes of testing so far this does appear to be resolved. I've noticed that the plugin disconnects periodically so I made a quick event:
IF ChromecastAudio2751 Root changes and becomes Disconnected
Then
Set Device ChromecastAudio2751 Root to Connect
This appears to work well - are there any downsides I'm not aware of in doing this? Thanks!
(a) the TCP connection has been broken, so in this case the plugin will try to reconnect automatically after 30 seconds
or
(b) Bonjour/Avahi says to the plugin that the chromecast has disappeared, in this case a reconnection shouldn't be needed until the chromecast service is advertised again by Bonjour/Avahi.
You can look at debug logs, why it is disconnecting.
Theoretically an event to reconnect shouldn't be needed, if you want to keep it, I would at least make it like below this to let the auto reconnection do its job
IF ChromecastAudio2751 Root has been Disconnected for exactly 2 minutes
Then
Set Device ChromecastAudio2751 Root to Connect
Leave a comment:
-
Originally posted by spud View Post
I found the issue and fixed in version 3.0.0.27 available in the Beta section of the updater.
Please test and let me know.
Thank you for reporting the problem!
IF ChromecastAudio2751 Root changes and becomes Disconnected
Then
Set Device ChromecastAudio2751 Root to Connect
This appears to work well - are there any downsides I'm not aware of in doing this? Thanks!
Leave a comment:
-
Originally posted by brett_cp View PostWith this latest beta (.26) - when the plugin disconnects, then I click "Connect" to reconnect, it shows "Connected" but never truly reconnects.. no update of meta info, covert art, or control. I have to restart the Chromecast plugin to restore functionality. Prior to this update, if it were Disconnected, I could click Connect and it would be functional again. I've attached the log here.
Please test and let me know.
Thank you for reporting the problem!
Leave a comment:
-
Spud,
I have seen this now in the log. I don't why it would disconnect at all but at least it appears to reconnect. It did it for the other speaker as well a couple hours later with the same result of reconnecting.Oct-28 2:20:51 AM Chromecast INFO Connected to chromecast Living Room speaker Oct-28 2:20:51 AM Chromecast INFO Connecting to Living Room speaker/ Oct-28 2:20:48 AM Chromecast INFO Found Service: Chromecast-Audio-0f0535dad554365369db054 Oct-28 2:20:06 AM Chromecast INFO Disconnected from chromecast Living Room speaker Oct-28 2:20:06 AM Chromecast INFO Disconnecting from Living Room speaker / Oct-28 2:20:06 AM Chromecast INFO Lost Service: Chromecast-Audio-0f0535dad554365369db054
Leave a comment:
-
With this latest beta (.26) - when the plugin disconnects, then I click "Connect" to reconnect, it shows "Connected" but never truly reconnects.. no update of meta info, covert art, or control. I have to restart the Chromecast plugin to restore functionality. Prior to this update, if it were Disconnected, I could click Connect and it would be functional again. I've attached the log here.Attached Files
Leave a comment:
-
I fixed the problem (as well as some other potential connection issues) in version BETA 3.0.0.26
Please test and let me know
Leave a comment:
-
Originally posted by spud View Post
Oct-25 4:20:02 AM Starting Plug-In Plugin Chromecast started successfully in 70 milliseconds Oct-25 4:20:02 AM Chromecast INFO Chromecast version 3.0.0.25 Oct-25 4:20:02 AM Starting Plug-In Initializing plugin Chromecast ... Oct-25 4:20:02 AM Info Plugin Chromecast has connected. IP:127.0.0.1:54899 Oct-25 4:20:01 AM Warning I/O interface Chromecast is down, executable is not running, restarting ... Oct-25 4:19:44 AM Info Plugin Chromecast with instance: has disconnected
Chromecast4-25-18.zip
Attached Files
Leave a comment:
-
Originally posted by cowinger View Post
I have the txt file you need. Do you want me to attach it or send it another way?
thanks
Leave a comment:
-
Originally posted by spud View PostI want you to turn "Log To File" on and set the "File Log Level" to debug, then wait for the "plugin disconnecting" problem to happen, and then send me the log file which is in Logs/Chromecast.txt,
Thanks
Leave a comment:
Leave a comment: