Skip to content

Noisy log output when unable to connect to platform #27

Open

Description

@knolleary

If the plugin cannot connect to the platform it retries every ~30 seconds. This makes for a very noisy log:

In the example below, the broker was running, but the local FF platform wasn't, so auth fails.

This may be more of a 'me' problem as I develop locally, and less of an issue with users connecting to FFC that is up 24/7 - but still, feels like something to tidy up.

23 Oct 10:31:17 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:31:34 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:31:34 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:31:51 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:31:51 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:32:08 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:32:08 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:32:25 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:32:25 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:32:42 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:32:42 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:32:59 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:32:59 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:33:16 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:33:16 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized
23 Oct 10:33:33 - [info] [flowfuse-remote-agent] Reconnecting to FlowFuse
23 Oct 10:33:33 - [warn] [flowfuse-remote-agent] Connection error: ErrorWithReasonCode: Connection refused: Not authorized

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions