Skip to content

Reconciliation Guess Types error causes web client to hang #3173

@tfmorris

Description

@tfmorris

An error received in response to the "guess types" call at the beginning of reconciliation causes the web client to hang with the spinner up forever.

The response is of the form:

{code: "error", message: "org.apache.http.conn.HttpHostConnectException: Con…] failed: Connection refused (Connection refused)", stack: "org.apache.http.conn.HttpHostConnectException: Con…pClientConnectionOperator.java:142)↵ ... 34 more↵"}

which causes an exception: TypeError: Cannot read property 'length' of undefined
here:

self._types = data.types;
if (self._types.length === 0 && "defaultTypes" in self._service) {

Current Results

The web client gets an error and hangs with the spinner up until the page is refreshed.

Expected Behavior

The user gets a meaningful error message explaining what happened.

Additional Context

The reconciliation_service_skeleton example reconciliation service doesn't work with Python 3 and can be used to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Module: FrontendThese issues involve working on HTML, CSS, and JavaScript code that affects the user interface.Type: BugIssues related to software defects or unexpected behavior, which require resolution.reconciliationRelated to the reconciliation operations and other features

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions