Skip to content

Watch gets dropped quite frequently for v1/services #352

@Stono

Description

@Stono

Hey,
Noticing some really odd behaviour when watching services.

As you can see in this log, i'm watching three apis, nodes, ingresses and services. Services gets dropped really frequently and requires reconnection. When i say dropped, i mean the watcher.each do |notice| block returns and i have to reconnect the watch.

No errors or anything as far as I can see?

I, [2018-10-01T14:41:32.866122 #1]  INFO -- : [Queues::QueueFactory#queue_for] Using redis for queue
I, [2018-10-01T14:41:32.869182 #1]  INFO -- : [App#watch] Watching for 'nodes' on api '' version 'v1'
I, [2018-10-01T14:41:32.870100 #1]  INFO -- : [App#watch] /v1/nodes will start from offset: 41408258
I, [2018-10-01T14:41:32.870514 #1]  INFO -- : [App#watch] Watching for 'ingresses' on api '/apis/extensions' version 'v1beta1'
I, [2018-10-01T14:41:32.871624 #1]  INFO -- : [App#watch] /apis/extensions/v1beta1/ingresses will start from offset: 41407491
I, [2018-10-01T14:41:32.873113 #1]  INFO -- : [App#watch] Watching for 'services' on api '/apis/atcloud.io' version 'v1'
I, [2018-10-01T14:41:32.874617 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41393730
W, [2018-10-01T14:43:10.771390 #1]  WARN -- : [App#watch] /apis/atcloud.io/v1/services stopped, will restart from 41393730
I, [2018-10-01T14:43:11.771714 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41393730
I, [2018-10-01T14:44:04.085678 #1]  INFO -- : [Handlers::Slack#create_apis_atcloud_io_v1_services] shippr-simple
W, [2018-10-01T14:44:35.922408 #1]  WARN -- : [App#watch] /apis/atcloud.io/v1/services stopped, will restart from 41408969
I, [2018-10-01T14:44:36.922661 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41408969
W, [2018-10-01T14:45:54.584440 #1]  WARN -- : [App#watch] /apis/atcloud.io/v1/services stopped, will restart from 41408969
I, [2018-10-01T14:45:55.584756 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41408969
W, [2018-10-01T14:47:13.200599 #1]  WARN -- : [App#watch] /apis/atcloud.io/v1/services stopped, will restart from 41408969
I, [2018-10-01T14:47:14.200865 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41408969
W, [2018-10-01T14:48:58.754999 #1]  WARN -- : [App#watch] /apis/atcloud.io/v1/services stopped, will restart from 41408969
I, [2018-10-01T14:48:59.755265 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41408969
W, [2018-10-01T14:50:15.733208 #1]  WARN -- : [App#watch] /apis/atcloud.io/v1/services stopped, will restart from 41408969
I, [2018-10-01T14:50:16.733523 #1]  INFO -- : [App#watch] /apis/atcloud.io/v1/services will start from offset: 41408969

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions