Open enduluc opened 4 months ago
hello @enduluc, I assume you are still using the old Kerberos Agent?
hi @cedricve Version 3.1.8 I even reinstall everything, install new ones, and in one case, started working again, but when I restart the container, stopped ....The thing is that I have a nodered flow that enable an HTTP endpoint, when Im at home, the endpoint sends in the response (404) status code, when I leave, the endpoint sends a 200....the kerberos agent, verify the conditional URL, but even with the 200, its says is that the response is not 200, and stop the recording.
I even tried entering to the containers´ console, test the command curl -i to the endpoint and the response is 200. but the agent says NOPE.
hi @cedricve any updates? do you need more information about this, logs, or anything else?
I even install one agent in another environment, same results. The agent doesnt recognize the 200 status code from the endpoint response.
Please let me know.
kind regards,
Hi @cedricve I have an update. I tested two agents with different url endpoints (condition url). Those endpoints are in my nodered instance. The results:
http://192.168.192.30:1880/endpoint ----> this always works in keberos agent and the status code in browser is 200 http://192.168.192.30:1880/endpoint/other ----> this one doesn't work in kerberos agent, but still status code in browser is 200
http://192.168.192.30:1880/endpoint/ ----> when I put the "/" to the end, in kerberos agent stop working and says that response is not 200.
The condition URL in kerberos agent cannot validated the url response when you have another deep level in the url. http://192.168.192.30:1880/endpoint ----kerberos OK http://192.168.192.30:1880/endpoint/ ----kerberos Failed http://192.168.192.30:1880/endpoint/other ----kerberos Failed http://192.168.192.30:1880/endpoint/other/ ----kerberos Failed
Thanks for the information @enduluc, we will provide a fix! ;)
Hi @cedricve, any updates?
Hi @cedricve any updates?
I ran some test and find out that kerberos only works with nodered home assistant addon. When i recreate the same flow in a nodered vm standalone, the endpoint returns 200 but kerberos says nop.
Hi @cedricve, is me again. Just to know if there is light at the end of the tunnel. Im running a bunch of tests, with different node-red instances (lxc, docker, vm, home assistant OS) the only that works is with haos, with the main endpoint, but when I try to use a second endpoint, it fails. the workaround was installing two VMs with haos and run different endpoints.... please, need some light here!
Hi @cedricve I hope you are doing well. Have you had the oportunity to check this bug?
For some reason, the external condition using a condition url stop working,.... I have several agents configured, when meets the Region of Interest, and the condition url gets the 200 Status code, I should start recording. I almost have 5 months with this configuration, but now stop working. even if I reinstall everything from scratch.
INFO[2024-07-27T14:20:06-04:00] conditions.uri.IsValidUriResponse(): response not 200, disabling recording.