Skip to content

[BUG] smartap-cfg throws an exception when trying to configure the device under certain conditions #2

Description

@muurk

Description

The smartap-cfg application does not gracefully handle conditions where the smartap device does not respond to HTTP requests

Steps to Reproduce

  1. Run the smartap-cfg utility
  2. Allow it to scan the network
  3. Select the smartap unit to configure, press enter
  4. If the smartap device fails to respond to the HTTP request for configuration data, smartap-cfg will throw an error when the HTTP request times out

Expected Behavior

smartap-cfg should display a message to the user indicating a request has been made and we're waiting for a response.

If the smartap device responds, the user is taken to the configuration interface.

If the smartap device does not respond, the user should be shown a message to explain the device is unavailable and should be power cycled before trying again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions