Skip to content
This repository has been 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

Open
crezo opened this issue Feb 18, 2019 · 0 comments
Open

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

crezo opened this issue Feb 18, 2019 · 0 comments

Comments

@crezo
Copy link

crezo commented Feb 18, 2019

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
@crezo crezo changed the title sed: -e expression #1, char 27: unterminated `s' command [OPC UA] sed: -e expression #1, char 27: unterminated `s' command Feb 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant