Open fisuda opened 5 years ago
If the solution lays in STH side, we don't have any problem to introduce the new parameter. However, not sure if "ignore"
is ok or it should be something taken from the configuration file and properly documented.
@aarranz what do you think?
Hi @aarranz Cc: @fgalan
I encountered
Invalid cookie value
error when requesting STH-Comet with sth-source-operator from Wirecloud.Response received from STH:
STH log:
I checked a request header which Wirecloud sent to STH. It seems that
cookie
is a cause of this error.failAction
to lib/server/sthServer.js in fiware-sth-comet. I was able to avoid this error. https://github.com/telefonicaid/fiware-sth-comet/blob/master/lib/server/sthServer.jsWorkaround 2 : I made a tiny proxy server for cutting in a request from Wirecloud to STH. It rewrites as a request header with only 'fiware-service' and 'fiware-servicepath'. It works well. No error occurred. https://github.com/fisuda/debug.sth.proxy
System Environment :
Similar issue : https://github.com/telefonicaid/fiware-sth-comet/issues/418
Question : Please give me advice on how to deal with this issue.
Thank you in advance.