You are working with amateurs. I can’t seem to get it to work, so clearly I’m not doing something right.
Firstly, I deleted all the existing dockers I had, the used the same docker-compose.yml file from the wiki. I thought it should be ok, as it pulls the latest version of manager.
Then I did as I do normally running the following:
KEYCLOAK_FRONTEND_URL=https://192.168.0.139/auth docker-compose -p openremote up -d
Then I recreated the asset, and the attributes, giving them both public write access and store data.
I ran the following, and get the following response.
curl -i -k -X PUT -H “Content-Type:application/json” -d ‘[{“ref”:{“id”:“5yFt7lFcNKur4QXIezSoPw”,“name”:“PH”},“value”:5.42},{“ref”:{“id”:“5yFt7lFcNKur4QXIezSoPw”,“name”:“ORP”},“value”:10}]’ https://192.168.0.139/api/master/asset/attributes
HTTP/1.1 403 Forbidden
content-type: text/plain;charset=UTF-8
content-length: 83
date: Wed, 21 Apr 2021 09:48:57 GMT
Request failed with HTTP error status: 403 Forbidden
Please contact the help desk.
What have I done wrong in the process?