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
Hi,
Because I have horizon, wirecloud and sth-comet in the same docker machine, I set in wirecloud settings.py :
SESSION_COOKIE_NAME = "wcsessionid"
CSRF_COOKIE_NAME = "wccsrftoken"
But when I want to use the plugin STH source, I had an error message in comet console :
If I try the REST request : GET http://IP_MASKED:8666/STH/v1/contextEntities/type/obj-test/id/test1/attributes/temperature?hLimit=3&hOffset=0
with setted header FIWARE_SERVICE and FIWARE_SERVICE_PATH but without cookie, it's working.
Thanks for help,
The text was updated successfully, but these errors were encountered:
Hi,
Because I have horizon, wirecloud and sth-comet in the same docker machine, I set in wirecloud settings.py :
SESSION_COOKIE_NAME = "wcsessionid"
CSRF_COOKIE_NAME = "wccsrftoken"
But when I want to use the plugin STH source, I had an error message in comet console :
time=2017-08-11T08:00:40.902Z | lvl=WARN | corr=20b047d2-7ed1-45c8-af7a-52c28a5eaa64 | trans=20b047d2-7ed1-45c8-af7a-52c28a5eaa64 | op=OPER_STH_GET | from=IP_MASKED | srv=nca | subsrv=/test1 | comp=STH | msg=GET /STH/v1/contextEntities/type/obj-test/id/test1/attributes/temperature?lastN=864000&dateFrom=2017-08-01T08%3A00%3A40.415Z, event={"request":"1502438440900:comet:1:j67gxckc:10014","timestamp":1502438440901,"tags":["state","error"],"data":{"header":"csrftoken=TOKEN_MASKED, sessionid="SESSION_MASKED","errors":[{"name":"csrftoken","value":"TOKEN_MASKED, sessionid="SESSION_MASKED","settings":{"strictHeader":true,"ignoreErrors":false,"isSecure":false,"isHttpOnly":false,"path":null,"domain":null,"ttl":null,"encoding":"none"},"reason":"Invalid cookie value"}]},"internal":true}
If I try the REST request : GET http://IP_MASKED:8666/STH/v1/contextEntities/type/obj-test/id/test1/attributes/temperature?hLimit=3&hOffset=0
with setted header FIWARE_SERVICE and FIWARE_SERVICE_PATH but without cookie, it's working.
Thanks for help,
The text was updated successfully, but these errors were encountered: