Skip to content

chromecast: dont try to reconnect on unrecoverable error #407

@jonaz

Description

@jonaz

For example no route to host there are no need to reconnect. We will rediscover it once (if) it reconnects.

Nov 21 08:34:32 bulan stampzilla-chromecast[16403]: time="2022-11-21T08:34:32.492178137+01:00" level=error msg="error reconnect: failed to connect to Chromecast. Error:dial tcp 192.168.13.227:8009: connect: no route to host" func="github.com/stampzilla/gocast.(*Device).Connect.func1" file="/home/stampzilla/go/pkg/mod/github.com/stampzilla/gocast@v0.5.2/device_connection.go:73" ip=192.168.13.227 name="Kitchen speaker" port=8009

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions