Announcement

Collapse
No announcement yet.

Chromecast Plugin Disconnecting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cowinger
    replied
    Originally posted by spud View Post

    The plugin disconnects because Bonjour says the service is lost (log line: Lost Service: Chromecast-Audio-0f0535dad554365369db0). This may occur for various reasons, but the service reappears again and the plugin reconnects within 1 minute, so I think everything is fine.
    Ok, thanks Spud. Great plug-in by the way.

    Leave a comment:


  • brett_cp
    replied
    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
    Thank you - I'll keep an eye on it. My Chromcast Audio is connected via wired Ethernet and is active/playing music during most of the day (I work from home). Your plugin has allowed me to tie my Chromecast Audio into Allonis myServer, has been great so far!

    Leave a comment:


  • spud
    replied
    Originally posted by cowinger View Post
    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
    The plugin disconnects because Bonjour says the service is lost (log line: Lost Service: Chromecast-Audio-0f0535dad554365369db0). This may occur for various reasons, but the service reappears again and the plugin reconnects within 1 minute, so I think everything is fine.

    Leave a comment:


  • cowinger
    replied
    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:


  • spud
    replied
    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!
    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:


  • brett_cp
    replied
    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!
    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!

    Leave a comment:


  • cowinger
    replied
    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!
    Your welcome. I will upgrade and test. I will let you know.

    Leave a comment:


  • spud
    replied
    Originally posted by brett_cp View Post
    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.
    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!

    Leave a comment:


  • cowinger
    replied
    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:


  • brett_cp
    replied
    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:


  • cowinger
    replied
    Originally posted by spud View Post
    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
    Thanks Spud, I will give it a try and let you know.

    Leave a comment:


  • spud
    replied
    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:


  • cowinger
    replied
    Originally posted by spud View Post

    Zip it and attached it here, or send it at spud.webb.4@gmail.com
    thanks
    Here is the error and time frame.
    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:


  • spud
    replied
    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?
    Zip it and attached it here, or send it at spud.webb.4@gmail.com
    thanks

    Leave a comment:


  • cowinger
    replied
    Originally posted by spud View Post
    I 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
    I have the txt file you need. Do you want me to attach it or send it another way?

    Leave a comment:

Working...
X