Skip to content

ConformU doesn't accept URLs with hostname #23

@RReverser

Description

@RReverser

The CLI docs say:

$ ~/conformu/conformu alpacaprotocol --help
Description:
Check the specified Alpaca device for Alpaca protocol conformance

Usage:
conformu alpacaprotocol <Alpaca_URI> [options]

Arguments:
<Alpaca_URI> The device's Alpaca URI (e.g. http://host:port/api/v1/[DeviceType]/[DeviceNumber]).
The ASCOM device type will be inferred from the supplied URI.

However, counter-intuitively, trying to pass a URL with host fails:

$ ~/conformu/conformu alpacaprotocol http://localhost:32323/api/v1/telescope/0

Unable to identify the device identifier as either a COM ProgID or an Alpaca URI. Is there a typo in the device identifier?

The Alpaca URI argument is invalid:

It seems only passing IP address (127.0.0.1 in this case) is supported, but both should probably be accepted.

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