Skip to content
This repository was archived by the owner on May 15, 2021. It is now read-only.
This repository was archived by the owner on May 15, 2021. It is now read-only.

[OPC UA] sed: -e expression #1, char 27: unterminated `s' command #84

@crezo

Description

@crezo

I'm setting up for the OPC UA protocol,
i configured the protocol-config.sh file and launched the command
. ./protocol-model.sh
I get the following error (i added spaces in the html tags)

sed: -e expression #1, char 27: unterminated `s' command
< html >
  < head >
    < title >404 Not Found< /title >
  </ head >
  < body >
    < h1 >404 Not Found< /h1 >
    < p >The requested resource has not been found. < br >
    Please check the requested URL.< /p >
  < /body >
< /html >

is it possible to have support?

looking at the documentation on iot/core/api/v1/doc/
I made the following change

URL_CAPABILITIES=https://${HOST_NAME}/iot/core/api/v1/tenants/${TENANT_ID}/capabilities
URL_SENSOR_TYPES=https://${HOST_NAME}/iot/core/api/v1/tenants/${TENANT_ID}/sensorTypes

I get the following error
{"message":"Invalid client request."}

I then tried this way and it worked

URL_CAPABILITIES=https://${HOST_NAME}/iot/core/api/v1/tenants/capabilities
URL_SENSOR_TYPES=https://${HOST_NAME}/iot/core/api/v1/tenants/sensorTypes

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