You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed openmtc gateway on Ubuntu 18.4 and Ubuntu 16.4, however I have experienced a problem.
I created the gateway using [ ./create-binary-docker gateway ] and run it using [ docker run -d --name gateway -p 0.0.0.0:8000:8000 openmtc/gateway-amd64:latest ] but when I run the command [ curl localhost:8000/onem2m -s | jq '.' ] I do not find a child attribute ( ch = [ ] , as indicated in the online webinar). as a result I cannot retrieve text using " latest " pointer.
##############################################################
~/OpenMTC$ curl localhost:8000/onem2m -s | jq '.'
{
"m2m:cb": {
"cst": 2,
"lbl": [],
"lt": "20191111T212055",
"ri": "cb0",
"ct": "20191111T212055",
"rn": "onem2m",
"csi": "/mn-cse-1",
"acpi": [],
"srt": [
24,
4,
3,
23,
2,
16,
5,
1
],
"nl": null,
"pi": null,
"poa": [
"http://172.17.0.2:8000",
"http://127.0.0.1:8000"
],
"ty": 5
}
}
#########################################################################
Could you please help me to fix this issue?
Thank you
The text was updated successfully, but these errors were encountered:
fawzia-it
changed the title
ModuleNotFoundError: No module named 'gevent'
Cannot find ch = [ ] attribute when i run gateway
Nov 24, 2019
I am also following the webinar (https://www.youtube.com/watch?v=gBF4gCTLGww) and I do not know why ch appears after they run the gateway and execute $ curl localhost:8000/onem2m (minute 10:47), but when I try to run the same command in my machine, ch does not appear.
Also, to get the latest value inside a container, try the following command:
$ curl -X GET localhost:8000/onem2m/EXAMPLE_APP_NAME/EXAMPLE_CONTAINER_NAME/la
I have installed openmtc gateway on Ubuntu 18.4 and Ubuntu 16.4, however I have experienced a problem.
I created the gateway using [ ./create-binary-docker gateway ] and run it using [ docker run -d --name gateway -p 0.0.0.0:8000:8000 openmtc/gateway-amd64:latest ] but when I run the command [ curl localhost:8000/onem2m -s | jq '.' ] I do not find a child attribute ( ch = [ ] , as indicated in the online webinar). as a result I cannot retrieve text using " latest " pointer.
##############################################################
~/OpenMTC$ curl localhost:8000/onem2m -s | jq '.'
{
"m2m:cb": {
"cst": 2,
"lbl": [],
"lt": "20191111T212055",
"ri": "cb0",
"ct": "20191111T212055",
"rn": "onem2m",
"csi": "/mn-cse-1",
"acpi": [],
"srt": [
24,
4,
3,
23,
2,
16,
5,
1
],
"nl": null,
"pi": null,
"poa": [
"http://172.17.0.2:8000",
"http://127.0.0.1:8000"
],
"ty": 5
}
}
#########################################################################
Could you please help me to fix this issue?
Thank you
The text was updated successfully, but these errors were encountered: